Commit e88e9af 1 parent 80dfeeb commit e88e9af Copy full SHA for e88e9af
File tree 3 files changed +4
-3
lines changed
internal/models/packets/utils
3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -116,12 +116,12 @@ function sparkleBatch() {
116
116
} else {
117
117
throw new Error ( "should never happen" ) ;
118
118
}
119
- keyboard . apply ( ) ;
119
+ // keyboard.apply();
120
120
currentKeys . push ( key ) ;
121
121
122
122
if ( currentKeys . length > 10 ) {
123
123
keyboard . setKeyState ( new KeyState ( currentKeys . splice ( 0 , 1 ) [ 0 ] ) . setToColorHex ( "#000000" ) ) ;
124
- keyboard . apply ( ) ;
124
+ // keyboard.apply();
125
125
}
126
126
}
127
127
}
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ export class EffectFlag {
13
13
14
14
constructor ( ) {
15
15
this . value = 1 ;
16
+ this . setTriggerEffectOnApply ( ) ;
16
17
}
17
18
18
19
public setIncrementDecrement ( ) {
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ export class KeyState {
132
132
}
133
133
134
134
public setApplyDelayed ( ) {
135
- this . effectFlag . setTriggerEffectNow ( ) ;
135
+ this . effectFlag . setTriggerEffectOnApply ( ) ;
136
136
return this ;
137
137
}
138
138
You can’t perform that action at this time.
0 commit comments