mirror of
https://github.com/AykutSarac/jsoncrack.com.git
synced 2025-01-27 15:22:56 +08:00
remove center on edit json
This commit is contained in:
parent
ef4f3d9ebf
commit
747947bc3b
@ -59,7 +59,7 @@ export const LiveEditor: React.FC<{
|
||||
|
||||
React.useEffect(() => {
|
||||
if (wrapperRef.current) wrapperRef.current?.resetTransform();
|
||||
}, [json, wrapperRef]);
|
||||
}, [wrapperRef]);
|
||||
|
||||
const zoomIn = (scale: number) => {
|
||||
if (
|
||||
|
Loading…
x
Reference in New Issue
Block a user