mirror of
https://github.com/penpot/penpot.git
synced 2025-06-08 19:01:38 +02:00
🐛 Fixes issues with frame selection
This commit is contained in:
parent
d517daa045
commit
8f4e13072c
4 changed files with 4 additions and 2 deletions
|
@ -30,7 +30,9 @@
|
||||||
- Add some missing database indexes (mainly improves performance on large databases on file-update rpc method, and some background tasks).
|
- 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 broken bounding box on editing paths [Taiga #1254](https://tree.taiga.io/project/penpot/issue/1254)
|
||||||
- Fix corner cases on invitation/signup flows.
|
- 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 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 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)
|
- 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)
|
- Have language change notification written in the new language [Taiga #1205](https://tree.taiga.io/project/penpot/issue/1205)
|
||||||
|
|
|
@ -353,6 +353,7 @@
|
||||||
(let [frames (select-frames objects)]
|
(let [frames (select-frames objects)]
|
||||||
(or
|
(or
|
||||||
(->> frames
|
(->> frames
|
||||||
|
(reverse)
|
||||||
(d/seek #(and position (gsh/has-point? % position)))
|
(d/seek #(and position (gsh/has-point? % position)))
|
||||||
:id)
|
:id)
|
||||||
uuid/zero)))
|
uuid/zero)))
|
||||||
|
|
|
@ -1003,7 +1003,7 @@
|
||||||
result
|
result
|
||||||
|
|
||||||
(let [group (get objects current-id)]
|
(let [group (get objects current-id)]
|
||||||
(if (and (not= uuid/zero current-id)
|
(if (and (not= :frame (:type group))
|
||||||
(not= current-id parent-id)
|
(not= current-id parent-id)
|
||||||
(empty? (remove removed-id? (:shapes group))))
|
(empty? (remove removed-id? (:shapes group))))
|
||||||
|
|
||||||
|
|
|
@ -373,7 +373,6 @@
|
||||||
|
|
||||||
(rx/of (set-modifiers selected)
|
(rx/of (set-modifiers selected)
|
||||||
(apply-modifiers selected)
|
(apply-modifiers selected)
|
||||||
(calculate-frame-for-move selected)
|
|
||||||
(fn [state] (-> state
|
(fn [state] (-> state
|
||||||
(update :workspace-local dissoc :modifiers)
|
(update :workspace-local dissoc :modifiers)
|
||||||
(update :workspace-local dissoc :current-move-selected)))
|
(update :workspace-local dissoc :current-move-selected)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue