nit
This commit is contained in:
parent
5aef77ccc6
commit
f3f87331c8
@ -17,7 +17,7 @@ namespace pxsim.visuals {
|
|||||||
if (!motorState) return;
|
if (!motorState) return;
|
||||||
|
|
||||||
const syncedMotor = motorState.getSynchedMotor();
|
const syncedMotor = motorState.getSynchedMotor();
|
||||||
if ((syncedMotor != undefined || this.syncedMotor != undefined) && syncedMotor != this.syncedMotor) {
|
if ((syncedMotor || this.syncedMotor) && syncedMotor != this.syncedMotor) {
|
||||||
this.syncedMotor = syncedMotor;
|
this.syncedMotor = syncedMotor;
|
||||||
this.showSyncedLabel(motorState, syncedMotor);
|
this.showSyncedLabel(motorState, syncedMotor);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user