mirror of
https://github.com/penpot/penpot.git
synced 2025-03-12 15:51:37 -05:00
🐛 Fix dissolve interaction
This commit is contained in:
parent
8b81f700a5
commit
8007794cba
1 changed files with 2 additions and 2 deletions
|
@ -245,14 +245,14 @@
|
||||||
|
|
||||||
:dissolve
|
:dissolve
|
||||||
(do (dom/animate! orig-viewport
|
(do (dom/animate! orig-viewport
|
||||||
[#js {:opacity "100"}
|
[#js {:opacity "100%"}
|
||||||
#js {:opacity "0"}]
|
#js {:opacity "0"}]
|
||||||
#js {:duration (:duration animation)
|
#js {:duration (:duration animation)
|
||||||
:easing (name (:easing animation))}
|
:easing (name (:easing animation))}
|
||||||
#(st/emit! (dv/complete-animation)))
|
#(st/emit! (dv/complete-animation)))
|
||||||
(dom/animate! current-viewport
|
(dom/animate! current-viewport
|
||||||
[#js {:opacity "0"}
|
[#js {:opacity "0"}
|
||||||
#js {:opacity "100"}]
|
#js {:opacity "100%"}]
|
||||||
#js {:duration (:duration animation)
|
#js {:duration (:duration animation)
|
||||||
:easing (name (:easing animation))}))
|
:easing (name (:easing animation))}))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue