Update transform change handler to use preview event
This commit is contained in:
@@ -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) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user