mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-25 17:10:43 +00:00
fix scale
This commit is contained in:
parent
79fe0fbd05
commit
461e083454
1 changed files with 1 additions and 1 deletions
|
|
@ -1554,7 +1554,7 @@ export class RoomEngine extends EventEmitter<RoomEngineEvents> {
|
|||
|
||||
public changeGrabbingDistance(delta: number) {
|
||||
if (this.grabbingCtx == null) return;
|
||||
this.grabbingCtx.distance -= delta;
|
||||
this.grabbingCtx.distance -= cm(delta);
|
||||
if (this.grabbingCtx.distance < cm(5)) this.grabbingCtx.distance = cm(5);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue