mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-11-14 17:54:47 +01:00
tweak binding highlight width
This commit is contained in:
@@ -242,7 +242,10 @@ const renderBindingHighlightForBindableElement = (
|
|||||||
element.y + appState.scrollY,
|
element.y + appState.scrollY,
|
||||||
);
|
);
|
||||||
|
|
||||||
context.lineWidth = 2 * element.strokeWidth;
|
context.lineWidth = Math.max(
|
||||||
|
2 / appState.zoom.value,
|
||||||
|
element.strokeWidth * 0.5,
|
||||||
|
);
|
||||||
context.strokeStyle =
|
context.strokeStyle =
|
||||||
appState.theme === THEME.DARK ? "#035da1" : "#6abdfc";
|
appState.theme === THEME.DARK ? "#035da1" : "#6abdfc";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user