mirror of
https://github.com/penpot/penpot.git
synced 2026-04-28 04:38:14 +00:00
🐛 Fix dissolve interaction
This commit is contained in:
parent
8b81f700a5
commit
8007794cba
@ -245,14 +245,14 @@
|
||||
|
||||
:dissolve
|
||||
(do (dom/animate! orig-viewport
|
||||
[#js {:opacity "100"}
|
||||
[#js {:opacity "100%"}
|
||||
#js {:opacity "0"}]
|
||||
#js {:duration (:duration animation)
|
||||
:easing (name (:easing animation))}
|
||||
#(st/emit! (dv/complete-animation)))
|
||||
(dom/animate! current-viewport
|
||||
[#js {:opacity "0"}
|
||||
#js {:opacity "100"}]
|
||||
#js {:opacity "100%"}]
|
||||
#js {:duration (:duration animation)
|
||||
:easing (name (:easing animation))}))
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user