@@ -422,7 +422,7 @@ class Block {
422422
423423 if ( that . bounds === null ) {
424424 const delayTime = INITIAL_DELAY * Math . pow ( 2 , loopCount ) ;
425- await that . pause ( delayTime ) ;
425+ await delayExecution ( delayTime ) ;
426426 updateBounds ( loopCount + 1 ) ;
427427 } else {
428428 that . container . updateCache ( ) ;
@@ -814,11 +814,11 @@ class Block {
814814 that . collapseButtonBitmap . scaleX =
815815 that . collapseButtonBitmap . scaleY =
816816 that . collapseButtonBitmap . scale =
817- scale / 3 ;
817+ scale / 3 ;
818818 that . expandButtonBitmap . scaleX =
819819 that . expandButtonBitmap . scaleY =
820820 that . expandButtonBitmap . scale =
821- scale / 3 ;
821+ scale / 3 ;
822822 that . updateCache ( ) ;
823823 that . _calculateBlockHitArea ( ) ;
824824 } ;
@@ -1531,7 +1531,7 @@ class Block {
15311531 that . collapseButtonBitmap . scaleX =
15321532 that . collapseButtonBitmap . scaleY =
15331533 that . collapseButtonBitmap . scale =
1534- that . protoblock . scale / 3 ;
1534+ that . protoblock . scale / 3 ;
15351535 that . container . addChild ( that . collapseButtonBitmap ) ;
15361536 that . collapseButtonBitmap . x = 2 * that . protoblock . scale ;
15371537 if ( that . isInlineCollapsible ( ) ) {
@@ -1561,7 +1561,7 @@ class Block {
15611561 that . expandButtonBitmap . scaleX =
15621562 that . expandButtonBitmap . scaleY =
15631563 that . expandButtonBitmap . scale =
1564- that . protoblock . scale / 3 ;
1564+ that . protoblock . scale / 3 ;
15651565
15661566 that . container . addChild ( that . expandButtonBitmap ) ;
15671567 that . expandButtonBitmap . visible = that . collapsed ;
@@ -2821,12 +2821,12 @@ class Block {
28212821 bitmap . scaleX =
28222822 bitmap . scaleY =
28232823 bitmap . scale =
2824- ( ( MEDIASAFEAREA [ 2 ] / width ) * blockScale ) / 2 ;
2824+ ( ( MEDIASAFEAREA [ 2 ] / width ) * blockScale ) / 2 ;
28252825 } else {
28262826 bitmap . scaleX =
28272827 bitmap . scaleY =
28282828 bitmap . scale =
2829- ( ( MEDIASAFEAREA [ 3 ] / height ) * blockScale ) / 2 ;
2829+ ( ( MEDIASAFEAREA [ 3 ] / height ) * blockScale ) / 2 ;
28302830 }
28312831 bitmap . x = ( ( MEDIASAFEAREA [ 0 ] - 10 ) * blockScale ) / 2 ;
28322832 bitmap . y = ( MEDIASAFEAREA [ 1 ] * blockScale ) / 2 ;
@@ -3103,10 +3103,10 @@ class Block {
31033103 setTimeout ( ( ) => {
31043104 moved =
31053105 Math . abs ( event . stageX / that . activity . getStageScale ( ) - that . original . x ) +
3106- Math . abs (
3107- event . stageY / that . activity . getStageScale ( ) - that . original . y
3108- ) >
3109- 20 && ! window . hasMouse ;
3106+ Math . abs (
3107+ event . stageY / that . activity . getStageScale ( ) - that . original . y
3108+ ) >
3109+ 20 && ! window . hasMouse ;
31103110 getInput = ! moved ;
31113111 } , 200 ) ;
31123112 }
0 commit comments