mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-26 09:28:12 +08:00
Fix pointer offset from viewport position
This commit is contained in:
@@ -471,7 +471,7 @@
|
||||
rulerVertical?.resize();
|
||||
|
||||
// Send the new bounds of the viewports to the backend
|
||||
if (viewport.parentElement) updateBoundsOfViewports(editor, viewport.parentElement);
|
||||
if (viewport.parentElement) updateBoundsOfViewports(editor);
|
||||
});
|
||||
if (viewport) viewportResizeObserver.observe(viewport);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user