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 {
647
647
/**
648
648
* Event called before interpolation data is set.
649
649
*/
650
- static get BEFORE_INTERPOLATION ( ) {
651
- return 'BEFORE_INTERPOLATION ' ;
650
+ static get BEFORE_INTERPOLATE ( ) {
651
+ return 'BEFORE_INTERPOLATE ' ;
652
652
}
653
653
654
654
/**
655
655
* Event called after interpolation data is set.
656
656
*/
657
- static get AFTER_INTERPOLATION ( ) {
658
- return 'AFTER_INTERPOLATION ' ;
657
+ static get AFTER_INTERPOLATE ( ) {
658
+ return 'AFTER_INTERPOLATE ' ;
659
659
}
660
660
661
661
/**
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ const interpolate = (runtime, time) => {
61
61
continue ;
62
62
}
63
63
64
- runtime . emit ( runtime . constructor . BEFORE_INTERPOLATION , target ) ;
64
+ runtime . emit ( runtime . constructor . BEFORE_INTERPOLATE , target ) ;
65
65
66
66
const drawableID = target . drawableID ;
67
67
@@ -140,7 +140,7 @@ const interpolate = (runtime, time) => {
140
140
}
141
141
}
142
142
143
- runtime . emit ( runtime . constructor . AFTER_INTERPOLATION , target ) ;
143
+ runtime . emit ( runtime . constructor . AFTER_INTERPOLATE , target ) ;
144
144
}
145
145
} ;
146
146
Original file line number Diff line number Diff line change @@ -184,11 +184,11 @@ class VirtualMachine extends EventEmitter {
184
184
this . runtime . on ( Runtime . INTERPOLATION_CHANGED , framerate => {
185
185
this . emit ( Runtime . INTERPOLATION_CHANGED , framerate ) ;
186
186
} ) ;
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 ) ;
189
189
} ) ;
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 ) ;
192
192
} ) ;
193
193
this . runtime . on ( Runtime . STAGE_SIZE_CHANGED , ( width , height ) => {
194
194
this . emit ( Runtime . STAGE_SIZE_CHANGED , width , height ) ;
You can’t perform that action at this time.
0 commit comments