From 71ded9dd89fe09a16ec7fced91626ffb9c97e023 Mon Sep 17 00:00:00 2001 From: Beka Westberg Date: Mon, 4 Dec 2023 19:14:19 +0000 Subject: [PATCH] fix: trashcan flyout opening on drag (#7691) --- core/trashcan.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/trashcan.ts b/core/trashcan.ts index ee7c98eeb..42c32ea1f 100644 --- a/core/trashcan.ts +++ b/core/trashcan.ts @@ -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();