mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-23 03:28:11 +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