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