mirror of
https://github.com/penpot/penpot.git
synced 2025-06-17 06:21:38 +02:00
🐛 Fix refresh of options menu
This commit is contained in:
parent
d067ff644d
commit
0e7809a8f1
2 changed files with 6 additions and 2 deletions
|
@ -25,7 +25,9 @@
|
||||||
[np op]
|
[np op]
|
||||||
(let [new-shape (obj/get np "shape")
|
(let [new-shape (obj/get np "shape")
|
||||||
old-shape (obj/get op "shape")]
|
old-shape (obj/get op "shape")]
|
||||||
(and (identical? (:fill-color new-shape)
|
(and (= (:id new-shape)
|
||||||
|
(:id old-shape))
|
||||||
|
(identical? (:fill-color new-shape)
|
||||||
(:fill-color old-shape))
|
(:fill-color old-shape))
|
||||||
(identical? (:fill-opacity new-shape)
|
(identical? (:fill-opacity new-shape)
|
||||||
(:fill-opacity old-shape)))))
|
(:fill-opacity old-shape)))))
|
||||||
|
|
|
@ -25,7 +25,9 @@
|
||||||
[np op]
|
[np op]
|
||||||
(let [new-shape (obj/get np "shape")
|
(let [new-shape (obj/get np "shape")
|
||||||
old-shape (obj/get op "shape")]
|
old-shape (obj/get op "shape")]
|
||||||
(and (identical? (:stroke-style new-shape)
|
(and (= (:id new-shape)
|
||||||
|
(:id old-shape))
|
||||||
|
(identical? (:stroke-style new-shape)
|
||||||
(:stroke-style old-shape))
|
(:stroke-style old-shape))
|
||||||
(identical? (:stroke-alignment new-shape)
|
(identical? (:stroke-alignment new-shape)
|
||||||
(:stroke-alignment old-shape))
|
(:stroke-alignment old-shape))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue