mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-14 04:50:05 +02:00
Fix incorrect highlight sizing
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
This commit is contained in:
@@ -626,7 +626,6 @@ const drawElementHighlight = (
|
|||||||
appState.scrollX + appState.suggestedBinding.x,
|
appState.scrollX + appState.suggestedBinding.x,
|
||||||
appState.scrollY + appState.suggestedBinding.y,
|
appState.scrollY + appState.suggestedBinding.y,
|
||||||
);
|
);
|
||||||
context.scale(1 / window.devicePixelRatio, 1 / window.devicePixelRatio);
|
|
||||||
|
|
||||||
const drawable = ShapeCache.generateBindableElementHighlight(
|
const drawable = ShapeCache.generateBindableElementHighlight(
|
||||||
appState.suggestedBinding,
|
appState.suggestedBinding,
|
||||||
|
Reference in New Issue
Block a user