mirror of
https://github.com/google/blockly.git
synced 2026-05-03 02:20:12 +02:00
fix: trashcan flyout opening on drag (#7691)
This commit is contained in:
+1
-1
@@ -545,7 +545,7 @@ export class Trashcan
|
||||
|
||||
/** Inspect the contents of the trash. */
|
||||
click() {
|
||||
if (!this.hasContents()) {
|
||||
if (!this.hasContents() || this.workspace.isDragging()) {
|
||||
return;
|
||||
}
|
||||
this.openFlyout();
|
||||
|
||||
Reference in New Issue
Block a user