Update transform change handler to use preview event

This commit is contained in:
2026-04-27 00:30:31 +02:00
parent 9459166f68
commit be81fca8f6

View File

@@ -9369,7 +9369,7 @@ export class ViewportHost {
this.currentTransformSession = nextSession; this.currentTransformSession = nextSession;
this.applyTransformPreview(); this.applyTransformPreview();
this.syncTransformGizmo(); this.syncTransformGizmo();
this.transformSessionChangeHandler?.(nextSession); this.transformPreviewChangeHandler?.(nextSession);
return; return;
} }
@@ -9501,7 +9501,7 @@ export class ViewportHost {
this.currentTransformSession = nextSession; this.currentTransformSession = nextSession;
this.applyTransformPreview(); this.applyTransformPreview();
this.syncTransformGizmo(); this.syncTransformGizmo();
this.transformSessionChangeHandler?.(nextSession); this.transformPreviewChangeHandler?.(nextSession);
}; };
private handleWheel = (event: WheelEvent) => { private handleWheel = (event: WheelEvent) => {