File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed
Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -647,15 +647,15 @@ class Runtime extends EventEmitter {
647647 /**
648648 * Event called before interpolation data is set.
649649 */
650- static get BEFORE_INTERPOLATION ( ) {
651- return 'BEFORE_INTERPOLATION ' ;
650+ static get BEFORE_INTERPOLATE ( ) {
651+ return 'BEFORE_INTERPOLATE ' ;
652652 }
653653
654654 /**
655655 * Event called after interpolation data is set.
656656 */
657- static get AFTER_INTERPOLATION ( ) {
658- return 'AFTER_INTERPOLATION ' ;
657+ static get AFTER_INTERPOLATE ( ) {
658+ return 'AFTER_INTERPOLATE ' ;
659659 }
660660
661661 /**
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ const interpolate = (runtime, time) => {
6161 continue ;
6262 }
6363
64- runtime . emit ( runtime . constructor . BEFORE_INTERPOLATION , target ) ;
64+ runtime . emit ( runtime . constructor . BEFORE_INTERPOLATE , target ) ;
6565
6666 const drawableID = target . drawableID ;
6767
@@ -140,7 +140,7 @@ const interpolate = (runtime, time) => {
140140 }
141141 }
142142
143- runtime . emit ( runtime . constructor . AFTER_INTERPOLATION , target ) ;
143+ runtime . emit ( runtime . constructor . AFTER_INTERPOLATE , target ) ;
144144 }
145145} ;
146146
Original file line number Diff line number Diff line change @@ -184,11 +184,11 @@ class VirtualMachine extends EventEmitter {
184184 this . runtime . on ( Runtime . INTERPOLATION_CHANGED , framerate => {
185185 this . emit ( Runtime . INTERPOLATION_CHANGED , framerate ) ;
186186 } ) ;
187- this . runtime . on ( Runtime . BEFORE_INTERPOLATION , target => {
188- this . emit ( Runtime . BEFORE_INTERPOLATION , target ) ;
187+ this . runtime . on ( Runtime . BEFORE_INTERPOLATE , target => {
188+ this . emit ( Runtime . BEFORE_INTERPOLATE , target ) ;
189189 } ) ;
190- this . runtime . on ( Runtime . AFTER_INTERPOLATION , target => {
191- this . emit ( Runtime . AFTER_INTERPOLATION , target ) ;
190+ this . runtime . on ( Runtime . AFTER_INTERPOLATE , target => {
191+ this . emit ( Runtime . AFTER_INTERPOLATE , target ) ;
192192 } ) ;
193193 this . runtime . on ( Runtime . STAGE_SIZE_CHANGED , ( width , height ) => {
194194 this . emit ( Runtime . STAGE_SIZE_CHANGED , width , height ) ;
You can’t perform that action at this time.
0 commit comments