fix: PanZoom
This commit is contained in:
@@ -32,9 +32,6 @@
|
||||
};
|
||||
|
||||
const handlePanZoom = (state: State, graphDiv: SVGSVGElement) => {
|
||||
if (!state.panZoom) {
|
||||
return;
|
||||
}
|
||||
void Promise.resolve().then(() => {
|
||||
panZoomState.updateElement(graphDiv, state);
|
||||
});
|
||||
|
||||
Vendored
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user