Update Editor.ts

pull/3180/head
Steve Ruiz 2024-03-18 07:51:07 +00:00
rodzic 736aff93f5
commit dbdbcfcc8f
1 zmienionych plików z 0 dodań i 1 usunięć

Wyświetl plik

@ -8728,7 +8728,6 @@ export class Editor extends EventEmitter<TLEventMap> {
// Update the camera here, which will dispatch a pointer move...
// this will also update the pointer position, etc
if (!this.getInstanceState().canMoveCamera) return this
const { x: cx, y: cy, z: cz } = this.getCamera()
this._setCamera({ x: cx + info.delta.x / cz, y: cy + info.delta.y / cz, z: cz }, true)