0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 08:20:45 -05:00

🚧 TG-269 Display rectangle over interaction

This commit is contained in:
mathieu.brunot 2019-02-18 17:32:40 +01:00
parent 60935ce342
commit 554157ade0
No known key found for this signature in database
GPG key ID: 81584BEAF692D7E0

View file

@ -63,15 +63,16 @@
:style {:cursor "pointer"}} :style {:cursor "pointer"}}
(factory shape) (factory shape)
(when show-itx? (when show-itx?
[:circle {:class "interaction-bullet"
:cx (:x1 rect)
:cy (:y1 rect)
:r 5}]
[:rect {:class "interaction-hightlight" [:rect {:class "interaction-hightlight"
:x (:x1 rect) :x (:x1 rect)
:y (:y1 rect) :y (:y1 rect)
:width (:width rect) :width (:width rect)
:height (:height rect)}])])) :height (:height rect)}]))
;; [:circle {:class "interaction-bullet"
;; :cx (:x1 rect)
;; :cy (:y1 rect)
;; :r 5}])]
;; --- Image Shape Wrapper ;; --- Image Shape Wrapper
;; ;;