Skip to content

Commit 952b113

Browse files
Hide trash pop-up when collapsing or expanding a block
1 parent a4c7718 commit 952b113

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

js/block.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2895,8 +2895,7 @@ class Block {
28952895
}, LONGPRESSTIME);
28962896

28972897
//hide the trash when block is being collapse or expand
2898-
const hasColExpBtns =
2899-
this.collapseButtonBitmap && this.expandButtonBitmap;
2898+
const hasColExpBtns = this.collapseButtonBitmap && this.expandButtonBitmap;
29002899

29012900
if (hasColExpBtns) {
29022901
const localPoint = this.container.globalToLocal(event.stageX, event.stageY);

0 commit comments

Comments
 (0)