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