Skip to content

Conversation

@fsih
Copy link
Contributor

@fsih fsih commented Aug 7, 2018

Resolves

Fixes #1019

Proposed Changes

This change mirrors
RaspberryPiFoundation/blockly#1996
from Blockly

Reason for Changes

Keyboard shortcuts can't be implemented in other tabs as long as the blocks tab is responding to them

Test Coverage

Tested in integration with GUI by using ctrl Z, C, and V while in other tabs

@fsih fsih added this to the August 2018 milestone Aug 7, 2018
@fsih fsih self-assigned this Aug 7, 2018
@fsih fsih requested a review from rachel-fenichel August 7, 2018 22:10
Copy link
Contributor

@AnmAtAnm AnmAtAnm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with minor change and fixed lint errors.

* @type {boolean}
* @package
*/
Blockly.WorkspaceSvg.prototype.isVisible = true;

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

core/blockly.js Outdated
* @param {!Event} e Key down event.
* @private
*/
// TODO handle cases where there are multiple workspaces and non-main workspaces are able to accept

This comment was marked as abuse.

This comment was marked as abuse.

@fsih fsih merged commit 968088e into scratchfoundation:develop Aug 9, 2018
@fsih fsih deleted the keyWhenVisible branch August 9, 2018 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants