mirror of
https://github.com/penpot/penpot.git
synced 2026-09-12 15:09:38 +00:00
🐛 Fix remove flex button doesn’t work within variant
This commit is contained in:
parent
ed767d9a5b
commit
e2ce226814
@ -68,6 +68,7 @@
|
|||||||
- Fix selected colors not showing colors from children shapes in multiple selection [Taiga #12384](https://tree.taiga.io/project/penpot/issue/12385)
|
- Fix selected colors not showing colors from children shapes in multiple selection [Taiga #12384](https://tree.taiga.io/project/penpot/issue/12385)
|
||||||
- Fix scrollbar issue in design tab [Taiga #12367](https://tree.taiga.io/project/penpot/issue/12367)
|
- Fix scrollbar issue in design tab [Taiga #12367](https://tree.taiga.io/project/penpot/issue/12367)
|
||||||
- Fix library update notificacions showing when they should not [Taiga #12397](https://tree.taiga.io/project/penpot/issue/12397)
|
- Fix library update notificacions showing when they should not [Taiga #12397](https://tree.taiga.io/project/penpot/issue/12397)
|
||||||
|
- Fix remove flex button doesn’t work within variant [Taiga #12314](https://tree.taiga.io/project/penpot/issue/12314)
|
||||||
|
|
||||||
## 2.10.1
|
## 2.10.1
|
||||||
|
|
||||||
|
|||||||
@ -235,13 +235,8 @@
|
|||||||
[ids]
|
[ids]
|
||||||
(ptk/reify ::remove-shape-layout
|
(ptk/reify ::remove-shape-layout
|
||||||
ptk/WatchEvent
|
ptk/WatchEvent
|
||||||
(watch [_ state _]
|
(watch [_ _ _]
|
||||||
(let [objects (dsh/lookup-page-objects state)
|
(let [undo-id (js/Symbol)]
|
||||||
ids (->> ids
|
|
||||||
(remove #(->> %
|
|
||||||
(get objects)
|
|
||||||
(ctc/is-variant?))))
|
|
||||||
undo-id (js/Symbol)]
|
|
||||||
(rx/of
|
(rx/of
|
||||||
(dwu/start-undo-transaction undo-id)
|
(dwu/start-undo-transaction undo-id)
|
||||||
(dwsh/update-shapes ids #(apply dissoc % layout-keys))
|
(dwsh/update-shapes ids #(apply dissoc % layout-keys))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user