Skip to content

Commit 7df8353

Browse files
committed
fix:Add notification for drag-to-trash block deletion
1 parent 6e491d7 commit 7df8353

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

js/block.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3114,6 +3114,10 @@ class Block {
31143114
) {
31153115
if (this.activity.trashcan.isVisible) {
31163116
this.blocks.sendStackToTrash(this);
3117+
this.activity.textMsg(
3118+
_("You can restore deleted blocks from the trash with the Restore From Trash button."), 3000
3119+
);
3120+
31173121
}
31183122
} else {
31193123
// Otherwise, process move.

0 commit comments

Comments
 (0)