mirror of
https://github.com/penpot/penpot.git
synced 2026-09-11 14:39:35 +00:00
Merge remote-tracking branch 'origin/staging'
This commit is contained in:
commit
c5109a1cd5
@ -130,6 +130,7 @@
|
|||||||
- Fix problem with hand tool stuck [Github #3318](https://github.com/penpot/penpot/issues/3318)
|
- Fix problem with hand tool stuck [Github #3318](https://github.com/penpot/penpot/issues/3318)
|
||||||
- Fix problem with fix scrolling on nested elements [Github #3508](https://github.com/penpot/penpot/issues/3508)
|
- Fix problem with fix scrolling on nested elements [Github #3508](https://github.com/penpot/penpot/issues/3508)
|
||||||
- Fix problem when changing typography assets [Github #3683](https://github.com/penpot/penpot/issues/3683)
|
- Fix problem when changing typography assets [Github #3683](https://github.com/penpot/penpot/issues/3683)
|
||||||
|
- Internal error when you copy and paste some main components between files [Taiga #7397](https://tree.taiga.io/project/penpot/issue/7397)
|
||||||
|
|
||||||
|
|
||||||
## 1.19.5
|
## 1.19.5
|
||||||
|
|||||||
@ -540,7 +540,10 @@
|
|||||||
filted by selected set"
|
filted by selected set"
|
||||||
[objects selected]
|
[objects selected]
|
||||||
(let [selected (if (set? selected) selected (set selected))]
|
(let [selected (if (set? selected) selected (set selected))]
|
||||||
(sequence (map val) (indexed-shapes objects selected))))
|
(sequence
|
||||||
|
(comp (filter (fn [o] (contains? selected (val o))))
|
||||||
|
(map val))
|
||||||
|
(indexed-shapes objects selected))))
|
||||||
|
|
||||||
(defn get-index-replacement
|
(defn get-index-replacement
|
||||||
"Given a collection of shapes, calculate their positions
|
"Given a collection of shapes, calculate their positions
|
||||||
|
|||||||
@ -2041,7 +2041,6 @@
|
|||||||
all-objects (merge page-objects objects)
|
all-objects (merge page-objects objects)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
drop-cell (when (ctl/grid-layout? all-objects parent-id)
|
drop-cell (when (ctl/grid-layout? all-objects parent-id)
|
||||||
(gslg/get-drop-cell frame-id all-objects position))
|
(gslg/get-drop-cell frame-id all-objects position))
|
||||||
|
|
||||||
|
|||||||
@ -512,9 +512,11 @@
|
|||||||
(ctk/remove-swap-slot))
|
(ctk/remove-swap-slot))
|
||||||
|
|
||||||
(dissoc :shapes
|
(dissoc :shapes
|
||||||
:main-instance
|
|
||||||
:use-for-thumbnail)
|
:use-for-thumbnail)
|
||||||
|
|
||||||
|
(cond-> (not is-component-root?)
|
||||||
|
(dissoc :main-instance))
|
||||||
|
|
||||||
(cond-> into-component?
|
(cond-> into-component?
|
||||||
(dissoc :component-root))
|
(dissoc :component-root))
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user