mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-03-24 04:53:33 +00:00
Update engine.ts
This commit is contained in:
@@ -391,6 +391,8 @@ export class RoomEngine {
|
||||
}
|
||||
|
||||
this.grabbing.position = this.grabbingGhost.position.clone();
|
||||
this.grabbing.position.x = Math.min(Math.max(this.grabbing.position.x, -(this.ROOM_SIZE / 2)), (this.ROOM_SIZE / 2));
|
||||
this.grabbing.position.z = Math.min(Math.max(this.grabbing.position.z, -(this.ROOM_SIZE / 2)), (this.ROOM_SIZE / 2));
|
||||
this.grabbing.position.y = y;
|
||||
} else {
|
||||
this.highlightedObjectId = null;
|
||||
|
||||
Reference in New Issue
Block a user