fix: direction of rotation
This commit is contained in:
parent
5fca8499ec
commit
2b2c7979a1
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
|||
export let asset: AssetResponseDto;
|
||||
export let element: HTMLDivElement | undefined = undefined;
|
||||
export let haveFadeTransition = true;
|
||||
export const rotate = () => setZoomImageWheelState({ currentRotation: $zoomImageWheelState.currentRotation + 90 });
|
||||
export const rotate = () => setZoomImageWheelState({ currentRotation: $zoomImageWheelState.currentRotation - 90 });
|
||||
|
||||
let imgElement: HTMLDivElement;
|
||||
let assetData: string;
|
||||
|
|
Loading…
Reference in a new issue