mirror of
https://github.com/penpot/penpot.git
synced 2025-07-30 04:28:30 +02:00
🐛 Fix undo stacking when changing color from color-picker
This commit is contained in:
parent
0e76aa0265
commit
9437cc1806
9 changed files with 131 additions and 73 deletions
|
@ -288,7 +288,8 @@
|
|||
(-> event get-target (.setPointerCapture (.-pointerId event))))
|
||||
|
||||
(defn release-pointer [event]
|
||||
(-> event get-target (.releasePointerCapture (.-pointerId event))))
|
||||
(when (.-pointerId event)
|
||||
(-> event get-target (.releasePointerCapture (.-pointerId event)))))
|
||||
|
||||
(defn get-root []
|
||||
(query globals/document "#app"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue