fix(editor): tweak freedraw settings and tablet UI/UX (#11551)

* fix(editor): align constant freedraw stroke width more with generic shapes

* reduce streamline for non-mouse

* do not change `currentItemStrokeVariability` unintentionally

* render penMode button under compact styles panel on tablets

* show stroke variability as standalone button in compact actions menu

* improve toolbar clicking UX with pen

* change streamline defaults

* change to `variable` stroke if toggling penMode for the first time
This commit is contained in:
David Luzar
2026-06-24 16:59:10 +02:00
committed by GitHub
parent 070df27e4d
commit 2a82821ec5
8 changed files with 116 additions and 36 deletions
+1 -1
View File
@@ -552,4 +552,4 @@ export const MOBILE_ACTION_BUTTON_BG = {
} as const;
export const DEFAULT_STROKE_STREAMLINE = 0.5;
export const DEFAULT_STROKE_STREAMLINE_PRECISE = 0.3;
export const DEFAULT_STROKE_STREAMLINE_PRECISE = 0.2;