0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 00:10:11 -05:00

🐛 TG-269 #in-progress

This commit is contained in:
mathieu.brunot 2019-02-18 01:47:50 +01:00
parent 2344850243
commit 9684e1031f
No known key found for this signature in database
GPG key ID: 81584BEAF692D7E0
2 changed files with 18 additions and 2 deletions

View file

@ -237,3 +237,14 @@
width: 15px;
}
}
.interaction-bullet {
fill: $color-primary;
fill-opacity: 1;
}
.interaction-hightlight {
fill: $color-primary;
fill-opacity: 0.3;
stroke: $color-primary;
}

View file

@ -63,10 +63,15 @@
:style {:cursor "pointer"}}
(factory shape)
(when show-itx?
[:circle {:fill "#78dbbe"
[:circle {:class "interaction-bullet"
:cx (:x1 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
;;