Skip to content

Commit 8fdfb62

Browse files
authored
Fix: Add Notification When Dragging Blocks to Trash (#4112) (#4113)
* fix:Add notification for drag-to-trash block deletion * Update block.js
1 parent 619f3e8 commit 8fdfb62

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

js/block.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3114,6 +3114,9 @@ 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+
);
31173120
}
31183121
} else {
31193122
// Otherwise, process move.

0 commit comments

Comments
 (0)