mirror of
https://github.com/penpot/penpot.git
synced 2025-08-06 04:48:26 +02:00
🐛 Fix problem when hovering over nested frames
This commit is contained in:
parent
2ecf33d7bb
commit
5820f73b6e
2 changed files with 10 additions and 1 deletions
|
@ -1,5 +1,10 @@
|
||||||
# CHANGELOG
|
# CHANGELOG
|
||||||
|
|
||||||
|
## 1.15.3-beta
|
||||||
|
|
||||||
|
### :bug: Bugs fixed
|
||||||
|
|
||||||
|
- Fix problem when hovering over nested frames [Taiga #4018] https://tree.taiga.io/project/penpot/issue/4018
|
||||||
## 1.15.2-beta
|
## 1.15.2-beta
|
||||||
|
|
||||||
### :bug: Bugs fixed
|
### :bug: Bugs fixed
|
||||||
|
|
|
@ -44,6 +44,10 @@
|
||||||
[{:keys [type]}]
|
[{:keys [type]}]
|
||||||
(= type :group))
|
(= type :group))
|
||||||
|
|
||||||
|
(defn bool-shape?
|
||||||
|
[{:keys [type]}]
|
||||||
|
(= type :bool))
|
||||||
|
|
||||||
(defn text-shape?
|
(defn text-shape?
|
||||||
[{:keys [type]}]
|
[{:keys [type]}]
|
||||||
(= type :text))
|
(= type :text))
|
||||||
|
@ -268,7 +272,7 @@
|
||||||
(= id-a id-b)
|
(= id-a id-b)
|
||||||
0
|
0
|
||||||
|
|
||||||
(is-shape-over-shape? objects id-a id-b options)
|
(is-shape-over-shape? objects id-a id-b {:top-frames? true})
|
||||||
1
|
1
|
||||||
|
|
||||||
:else
|
:else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue