Skip to content

Commit 1b84c6a

Browse files
fix: BROS-711: Decrease points hit radius to make it easier to drag vectors themselves (#9291)
Co-authored-by: nick-skriabin <nick-skriabin@users.noreply.github.com>
1 parent 2b396f0 commit 1b84c6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/libs/editor/src/components/KonvaVector/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export const KEYPOINT_POINT_RADIUS = {
5252
// Hit detection radii (in pixels)
5353
export const HIT_RADIUS = {
5454
CONTROL_POINT: 6,
55-
SELECTION: 20, // Increased from 5 to 20 to make points easier to click
55+
SELECTION: 10, // Hit radius for vector points
5656
SEGMENT: 8,
5757
} as const;
5858

0 commit comments

Comments
 (0)