0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-24 23:49:45 -05:00

Add alt as mod-key to add stroke color to a shape from color in menu library

This commit is contained in:
eva 2022-01-03 14:44:42 +01:00 committed by Alonso Torres
parent 06b3499e7d
commit d4fab3b46c
2 changed files with 2 additions and 1 deletions

View file

@ -5,6 +5,7 @@
### :boom: Breaking changes
### :sparkles: New features
- Add alt as mod key to add stroke color from library menu [Taiga #2207](https://tree.taiga.io/project/penpot/us/2207).
- Add detach in bulk option to context menu [Taiga #2210](https://tree.taiga.io/project/penpot/us/2210).
- Add penpot look and feel to multiuser cursors [Taiga #1387](https://tree.taiga.io/project/penpot/us/1387).
- Add actions to go to main component context menu option [Taiga #2053](https://tree.taiga.io/project/penpot/us/2053).

View file

@ -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))))))]