mirror of
https://github.com/google/blockly.git
synced 2026-01-10 18:37:09 +01:00
Removes ability to enter accessibility mode using shift click (#3538)
* Removes ability to enter accessibility mode using shift click
This commit is contained in:
@@ -89,9 +89,10 @@ suite('Gesture', function() {
|
||||
|
||||
};
|
||||
var ws = Blockly.inject('blocklyDiv', {});
|
||||
var gesture = new Blockly.Gesture(this.e, ws);
|
||||
assertFalse(ws.keyboardAccessibilityMode);
|
||||
ws.keyboardAccessibilityMode = true;
|
||||
var gesture = new Blockly.Gesture(event, ws);
|
||||
gesture.doWorkspaceClick_(event);
|
||||
assertTrue(ws.keyboardAccessibilityMode);
|
||||
var cursor = ws.getCursor();
|
||||
assertEquals(cursor.getCurNode().getType(), Blockly.ASTNode.types.WORKSPACE);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user