mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-23 19:14:19 +02: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 = 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;
|
this.grabbing.position.y = y;
|
||||||
} else {
|
} else {
|
||||||
this.highlightedObjectId = null;
|
this.highlightedObjectId = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user