mirror of
https://github.com/google/blockly.git
synced 2026-01-04 15:40:08 +01:00
fix: trashcan flyout opening on drag (#7691)
This commit is contained in:
@@ -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