mirror of
https://github.com/google/blockly.git
synced 2026-01-08 17:40:09 +01:00
fix: Fix bug that caused text to be selected when long-pressing in the workspace on a touch device. (#8670)
* fix: Fix bug that caused text to be selected when long-pressing in the workspace on a touch device. * chore: Fix test failure.
This commit is contained in:
@@ -47,10 +47,7 @@ suite('Toolbox', function () {
|
||||
test('Init called -> HtmlDiv is inserted before parent node', function () {
|
||||
const toolboxDiv = Blockly.common.getMainWorkspace().getInjectionDiv()
|
||||
.childNodes[0];
|
||||
assert.equal(
|
||||
toolboxDiv.className,
|
||||
'blocklyToolboxDiv blocklyNonSelectable',
|
||||
);
|
||||
assert.equal(toolboxDiv.className, 'blocklyToolboxDiv');
|
||||
});
|
||||
test('Init called -> Toolbox is subscribed to background and foreground colour', function () {
|
||||
const themeManager = this.toolbox.workspace_.getThemeManager();
|
||||
|
||||
Reference in New Issue
Block a user