mirror of
https://github.com/penpot/penpot.git
synced 2025-08-03 18:18:24 +02:00
🐛 Detect correctly color of outlines and controls of components
This commit is contained in:
parent
d8861bbf48
commit
9c79c80fd7
6 changed files with 72 additions and 31 deletions
|
@ -109,7 +109,7 @@
|
|||
(t/is (= (:name p-group) "Group1"))
|
||||
(t/is (ctk/instance-of? p-group file-id (:id component1)))
|
||||
(t/is (not (:main-instance? p-group)))
|
||||
(t/is (not (ctk/is-main-instance? (:id p-group) file-page-id component1)))
|
||||
(t/is (not (ctk/main-instance-of? (:id p-group) file-page-id component1)))
|
||||
(t/is (ctk/is-main-of? c-group1 p-group))
|
||||
|
||||
(t/is (= (:name p-shape) "Rect1"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue