mirror of
https://github.com/penpot/penpot.git
synced 2025-01-09 08:20:45 -05:00
🐛 fix bad behaviour on hovering and click nested artboards
This commit is contained in:
parent
190d67a0cb
commit
f276910ce3
2 changed files with 5 additions and 4 deletions
|
@ -15,6 +15,7 @@
|
||||||
- Fix join nodes icon is active when 2 already joined nodes are selected [Taiga #4370](https://tree.taiga.io/project/penpot/issue/4370)
|
- Fix join nodes icon is active when 2 already joined nodes are selected [Taiga #4370](https://tree.taiga.io/project/penpot/issue/4370)
|
||||||
- Fix path nodes panel. "To curve" and "To corner" icons are active if node is already curved/cornered [Taiga #4371](https://tree.taiga.io/project/penpot/issue/4371)
|
- Fix path nodes panel. "To curve" and "To corner" icons are active if node is already curved/cornered [Taiga #4371](https://tree.taiga.io/project/penpot/issue/4371)
|
||||||
- Fix displaying comments settings are not applied via "Comments" menu drop-down on the top navbar on view mode [Taiga #4389](https://tree.taiga.io/project/penpot/issue/4389)
|
- Fix displaying comments settings are not applied via "Comments" menu drop-down on the top navbar on view mode [Taiga #4389](https://tree.taiga.io/project/penpot/issue/4389)
|
||||||
|
- Fix bad behaviour on hovering and click nested artboards[Taiga #4018](https://tree.taiga.io/project/penpot/issue/4018) and [Taiga #4269](https://tree.taiga.io/project/penpot/us/4269)
|
||||||
|
|
||||||
## 1.16.0-beta
|
## 1.16.0-beta
|
||||||
|
|
||||||
|
|
|
@ -183,11 +183,11 @@
|
||||||
(let [type-a (dm/get-in objects [id-a :type])
|
(let [type-a (dm/get-in objects [id-a :type])
|
||||||
type-b (dm/get-in objects [id-b :type])]
|
type-b (dm/get-in objects [id-b :type])]
|
||||||
(cond
|
(cond
|
||||||
(and bottom-frames? (= :frame type-a) (not= :frame type-b))
|
(and (= :frame type-a) (not= :frame type-b))
|
||||||
1
|
(if bottom-frames? 1 -1)
|
||||||
|
|
||||||
(and bottom-frames? (not= :frame type-a) (= :frame type-b))
|
(and (not= :frame type-a) (= :frame type-b))
|
||||||
-1
|
(if bottom-frames? -1 1)
|
||||||
|
|
||||||
(= id-a id-b)
|
(= id-a id-b)
|
||||||
0
|
0
|
||||||
|
|
Loading…
Reference in a new issue