0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-11 15:21:18 -05:00

🐛 Fixes issues with frame selection

This commit is contained in:
alonso.torres 2021-02-24 13:17:16 +01:00 committed by Andrey Antukh
parent d517daa045
commit 8f4e13072c
4 changed files with 4 additions and 2 deletions

View file

@ -30,7 +30,9 @@
- Add some missing database indexes (mainly improves performance on large databases on file-update rpc method, and some background tasks).
- Fix broken bounding box on editing paths [Taiga #1254](https://tree.taiga.io/project/penpot/issue/1254)
- Fix corner cases on invitation/signup flows.
- Fix errors on onboarding file [Taiga #1287](https://tree.taiga.io/project/penpot/issue/1287)
- Fix infinite recursion on logout.
- Fix issues with frame selection [Taiga #1300](https://tree.taiga.io/project/penpot/issue/1300), [Taiga #1255](https://tree.taiga.io/project/penpot/issue/1255)
- Fix problem width handoff code generation [Taiga #1204](https://tree.taiga.io/project/penpot/issue/1204)
- Fix problem with indices refreshing on page changes [#646](https://github.com/penpot/penpot/issues/646)
- Have language change notification written in the new language [Taiga #1205](https://tree.taiga.io/project/penpot/issue/1205)

View file

@ -353,6 +353,7 @@
(let [frames (select-frames objects)]
(or
(->> frames
(reverse)
(d/seek #(and position (gsh/has-point? % position)))
:id)
uuid/zero)))

View file

@ -1003,7 +1003,7 @@
result
(let [group (get objects current-id)]
(if (and (not= uuid/zero current-id)
(if (and (not= :frame (:type group))
(not= current-id parent-id)
(empty? (remove removed-id? (:shapes group))))

View file

@ -373,7 +373,6 @@
(rx/of (set-modifiers selected)
(apply-modifiers selected)
(calculate-frame-for-move selected)
(fn [state] (-> state
(update :workspace-local dissoc :modifiers)
(update :workspace-local dissoc :current-move-selected)))