Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes case where we do not have a toolbox #2449

Merged
merged 2 commits into from
May 7, 2019

Conversation

alschmiedt
Copy link
Contributor

The basics

  • I branched from develop
  • My pull request is against develop
  • My code follows the style guide

The details

Resolves

There is currently no way to get to the flyout when we do not have a toolbox.

Proposed Changes

Adds the ability to go to the flyout directly if no toolbox is available. The user would get there by hitting T.

Reason for Changes

Test Coverage

Tested on:

Additional Information

Copy link
Contributor

@RoboErikG RoboErikG left a comment

Choose a reason for hiding this comment

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

One nit

var workspace = Blockly.getMainWorkspace();
if (!workspace.getToolbox()) {
Blockly.Navigation.focusFlyout();
Blockly.Navigation.log('F: Focus Flyout');
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit, the key is still 'T', not 'F'

@alschmiedt alschmiedt merged commit b8f6351 into google:keyboard_nav May 7, 2019
@alschmiedt alschmiedt deleted the fix_flyout branch May 29, 2020 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants