Refactor cameraControls and pointerHandlers, npm update, npm run format
This commit is contained in:
@ -250,9 +250,9 @@ function handleMove() {
|
||||
}
|
||||
|
||||
function handleRotate(objectId: string) {
|
||||
const object = zoneObjects.value.find(obj => obj.id === objectId);
|
||||
const object = zoneObjects.value.find((obj) => obj.id === objectId)
|
||||
if (object) {
|
||||
object.isRotated = !object.isRotated;
|
||||
object.isRotated = !object.isRotated
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user