mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 07:29:08 -05:00
🐛 Fix problem with z-index
This commit is contained in:
parent
77b886aa1a
commit
3702c054a8
1 changed files with 2 additions and 2 deletions
|
@ -193,7 +193,7 @@
|
|||
|
||||
[base-id idx-a idx-b]))
|
||||
|
||||
(defn is-shape-over-shape?
|
||||
(defn- is-shape-over-shape?
|
||||
[objects base-shape-id over-shape-id bottom-frames?]
|
||||
|
||||
(let [[base-id index-a index-b] (get-base objects base-shape-id over-shape-id)]
|
||||
|
@ -218,7 +218,7 @@
|
|||
[0 0])]
|
||||
|
||||
(if (= z-index-a z-index-b)
|
||||
(< index-a index-b)
|
||||
(> index-a index-b)
|
||||
(< z-index-a z-index-b))))))
|
||||
|
||||
(defn sort-z-index
|
||||
|
|
Loading…
Add table
Reference in a new issue