feat: enable panning/zoom while in wysiwyg (#8437)

This commit is contained in:
David Luzar
2024-08-29 00:42:46 +02:00
committed by GitHub
parent ea7c702cfc
commit 00af35c692
4 changed files with 67 additions and 25 deletions
+2 -1
View File
@@ -49,6 +49,7 @@ import {
} from "./icons";
import { KEYS } from "../keys";
import { useTunnels } from "../context/tunnels";
import { CLASSES } from "../constants";
export const canChangeStrokeColor = (
appState: UIAppState,
@@ -426,7 +427,7 @@ export const ZoomActions = ({
renderAction: ActionManager["renderAction"];
zoom: Zoom;
}) => (
<Stack.Col gap={1} className="zoom-actions">
<Stack.Col gap={1} className={CLASSES.ZOOM_ACTIONS}>
<Stack.Row align="center">
{renderAction("zoomOut")}
{renderAction("resetZoom")}