mirror of
https://github.com/AykutSarac/jsoncrack.com.git
synced 2025-01-27 15:22:56 +08:00
increase zoom scale
This commit is contained in:
parent
e9ab9ceb9d
commit
aae7fd25f2
@ -58,7 +58,7 @@ export const useConfigReducer: React.Reducer<AppConfig, ReducerAction> = (
|
|||||||
state.settings.zoomPanPinch?.setTransform(
|
state.settings.zoomPanPinch?.setTransform(
|
||||||
state.settings.zoomPanPinch?.state.positionX,
|
state.settings.zoomPanPinch?.state.positionX,
|
||||||
state.settings.zoomPanPinch?.state.positionY,
|
state.settings.zoomPanPinch?.state.positionY,
|
||||||
state.settings.zoomPanPinch?.state.scale + 0.2
|
state.settings.zoomPanPinch?.state.scale + 0.4
|
||||||
);
|
);
|
||||||
return state;
|
return state;
|
||||||
|
|
||||||
@ -66,7 +66,7 @@ export const useConfigReducer: React.Reducer<AppConfig, ReducerAction> = (
|
|||||||
state.settings.zoomPanPinch?.setTransform(
|
state.settings.zoomPanPinch?.setTransform(
|
||||||
state.settings.zoomPanPinch?.state.positionX,
|
state.settings.zoomPanPinch?.state.positionX,
|
||||||
state.settings.zoomPanPinch?.state.positionY,
|
state.settings.zoomPanPinch?.state.positionY,
|
||||||
state.settings.zoomPanPinch?.state.scale - 0.2
|
state.settings.zoomPanPinch?.state.scale - 0.4
|
||||||
);
|
);
|
||||||
return state;
|
return state;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user