Using game loop instead of queueAnimationUpdate
This commit is contained in:
@ -17,10 +17,7 @@ namespace pxsim {
|
||||
setDistance(distance: number) {
|
||||
if (this.distance != distance) {
|
||||
this.distance = distance;
|
||||
this.changed = true;
|
||||
this.valueChanged = true;
|
||||
|
||||
runtime.queueDisplayUpdate();
|
||||
this.setChangedState();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user