mirror of
https://github.com/penpot/penpot.git
synced 2025-06-06 02:11:38 +02:00
🐛 TG-269 #in-progress
This commit is contained in:
parent
2344850243
commit
9684e1031f
2 changed files with 18 additions and 2 deletions
|
@ -237,3 +237,14 @@
|
||||||
width: 15px;
|
width: 15px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.interaction-bullet {
|
||||||
|
fill: $color-primary;
|
||||||
|
fill-opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.interaction-hightlight {
|
||||||
|
fill: $color-primary;
|
||||||
|
fill-opacity: 0.3;
|
||||||
|
stroke: $color-primary;
|
||||||
|
}
|
||||||
|
|
|
@ -63,10 +63,15 @@
|
||||||
:style {:cursor "pointer"}}
|
:style {:cursor "pointer"}}
|
||||||
(factory shape)
|
(factory shape)
|
||||||
(when show-itx?
|
(when show-itx?
|
||||||
[:circle {:fill "#78dbbe"
|
[:circle {:class "interaction-bullet"
|
||||||
:cx (:x1 rect)
|
:cx (:x1 rect)
|
||||||
:cy (:y1 rect)
|
:cy (:y1 rect)
|
||||||
:r 5}])]))
|
:r 5}]
|
||||||
|
[:rect {:class "interaction-hightlight"
|
||||||
|
:x (:x1 rect)
|
||||||
|
:y (:y1 rect)
|
||||||
|
:width (:width rect)
|
||||||
|
:height (:height rect)}])]))
|
||||||
|
|
||||||
;; --- Image Shape Wrapper
|
;; --- Image Shape Wrapper
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue