mirror of
https://github.com/penpot/penpot.git
synced 2025-02-02 04:19:08 -05:00
🐛 Fix mouse leave in handoff close overlay animation breaks
This commit is contained in:
parent
d18c96360f
commit
658e3b7aee
2 changed files with 79 additions and 76 deletions
|
@ -46,6 +46,7 @@
|
|||
### :bug: Bugs fixed
|
||||
|
||||
- Fix internal error when hoverin over shape [Taiga #3237](https://tree.taiga.io/project/penpot/issue/3237)
|
||||
- Fix mouse leave in handoff close overlay animation breaks [Taiga #3173](https://tree.taiga.io/project/penpot/issue/3173)
|
||||
- Fix different behaviour during image drag [Taiga #2279](https://tree.taiga.io/project/penpot/issue/2279)
|
||||
- Fix hidden file name on import [Taiga #3172](https://tree.taiga.io/project/penpot/issue/3172)
|
||||
- Fix unneccessary scrollbars at the color list [Taiga #3211](https://tree.taiga.io/project/penpot/issue/3211)
|
||||
|
|
|
@ -406,6 +406,7 @@
|
|||
(defn animate-open-overlay
|
||||
[animation overlay-viewport
|
||||
wrapper-size overlay-size overlay-position]
|
||||
(when (some? overlay-viewport)
|
||||
(case (:animation-type animation)
|
||||
|
||||
:dissolve
|
||||
|
@ -449,11 +450,12 @@
|
|||
#js {:top (str (:y overlay-position) "px")}]
|
||||
#js {:duration (:duration animation)
|
||||
:easing (name (:easing animation))}
|
||||
#(st/emit! (dv/complete-animation))))))
|
||||
#(st/emit! (dv/complete-animation)))))))
|
||||
|
||||
(defn animate-close-overlay
|
||||
[animation overlay-viewport
|
||||
wrapper-size overlay-size overlay-position overlay-id]
|
||||
(when (some? overlay-viewport)
|
||||
(case (:animation-type animation)
|
||||
|
||||
:dissolve
|
||||
|
@ -502,5 +504,5 @@
|
|||
#js {:duration (:duration animation)
|
||||
:easing (name (:easing animation))}
|
||||
#(st/emit! (dv/complete-animation)
|
||||
(dv/close-overlay overlay-id))))))
|
||||
(dv/close-overlay overlay-id)))))))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue