File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
plugins/content-highlight Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 4848 "typescript" : " ^5.4.5"
4949 },
5050 "peerDependencies" : {
51- "blockly" : " ^11.1.2 "
51+ "blockly" : " ^11.2.0 "
5252 },
5353 "publishConfig" : {
5454 "access" : " public" ,
Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ export class ContentHighlight {
185185 private onChange ( event : Blockly . Events . Abstract ) {
186186 if ( event . type === Blockly . Events . THEME_CHANGE ) {
187187 this . applyColor ( ) ;
188- } else if ( contentChangeEvents . indexOf ( event . type ) !== - 1 ) {
188+ } else if ( ( contentChangeEvents as string [ ] ) . indexOf ( event . type ) !== - 1 ) {
189189 const metricsManager = this . workspace . getMetricsManager ( ) ;
190190 if ( event . type !== Blockly . Events . VIEWPORT_CHANGE ) {
191191 // The content metrics change when it's not a viewport change event.
You can’t perform that action at this time.
0 commit comments