mirror of
https://github.com/penpot/penpot.git
synced 2025-05-20 19:56:11 +02:00
✨ Add alt as mod-key to add stroke color to a shape from color in menu library
This commit is contained in:
parent
06b3499e7d
commit
d4fab3b46c
2 changed files with 2 additions and 1 deletions
|
@ -43,7 +43,7 @@
|
|||
(let [select-color
|
||||
(fn [event]
|
||||
(let [ids (wsh/lookup-selected @st/state)]
|
||||
(if (kbd/shift? event)
|
||||
(if (kbd/alt? event)
|
||||
(st/emit! (mdc/change-stroke ids (merge uc/empty-color color)))
|
||||
(st/emit! (mdc/change-fill ids (merge uc/empty-color color))))))]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue