fix: PanZoom

This commit is contained in:
Sidharth Vinod
2025-03-16 17:32:14 -07:00
parent b2bb5b2bef
commit 6e7c7467a3
2 changed files with 0 additions and 4 deletions
-3
View File
@@ -32,9 +32,6 @@
};
const handlePanZoom = (state: State, graphDiv: SVGSVGElement) => {
if (!state.panZoom) {
return;
}
void Promise.resolve().then(() => {
panZoomState.updateElement(graphDiv, state);
});
-1
View File
@@ -30,7 +30,6 @@ export interface State {
// All new options must be optional, as users would have old states saved
grid?: boolean;
editorMode?: EditorMode;
panZoom?: boolean;
pan?: { x: number; y: number };
zoom?: number;
loader?: LoaderConfig;