forked from mirror/ObjToSchematic
Fixed Y and Z components of vector spinbox
This commit is contained in:
parent
15c75e9f17
commit
1a7e1b5905
@ -145,10 +145,10 @@ export class VectorSpinboxElement extends ConfigUIElement<Vector3, HTMLDivElemen
|
||||
current.x = (current.x + deltaX) % this._wrap;
|
||||
break;
|
||||
case 'y':
|
||||
current.y += (current.y + deltaX) % this._wrap;
|
||||
current.y = (current.y + deltaX) % this._wrap;
|
||||
break;
|
||||
case 'z':
|
||||
current.z += (current.z + deltaX) % this._wrap;
|
||||
current.z = (current.z + deltaX) % this._wrap;
|
||||
break;
|
||||
}
|
||||
this._setValue(current);
|
||||
|
Loading…
Reference in New Issue
Block a user