Skip to content

Commit ff4b115

Browse files
authored
fix: remove canvas transition (#129)
1 parent a65d24a commit ff4b115

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

core/css.js

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ const styles = `
5555
-ms-user-select: none;
5656
}
5757
58+
.blocklyBlockCanvas.blocklyCanvasTransitioning,
59+
.blocklyBubbleCanvas.blocklyCanvasTransitioning {
60+
transition: none;
61+
}
62+
5863
.blocklyWidgetDiv.fieldTextInput {
5964
overflow: hidden;
6065
border: 1px solid;
@@ -83,13 +88,6 @@ const styles = `
8388
cursor: pointer;
8489
}
8590
86-
.blocklyNonSelectable {
87-
user-select: none;
88-
-moz-user-select: none;
89-
-webkit-user-select: none;
90-
-ms-user-select: none;
91-
}
92-
9391
.blocklyWsDragSurface {
9492
display: none;
9593
position: absolute;

0 commit comments

Comments
 (0)