mirror of
https://github.com/penpot/penpot.git
synced 2025-05-19 09:26:12 +02:00
add bezier dot styles
This commit is contained in:
parent
1142885656
commit
e8fec61afc
2 changed files with 14 additions and 2 deletions
|
@ -1066,3 +1066,13 @@ input[type=range]:focus::-ms-fill-upper {
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.close-bezier {
|
||||||
|
fill: $color-danger;
|
||||||
|
stroke: $color-danger-dark;
|
||||||
|
stroke-width: 2px;
|
||||||
|
cursor: pointer;
|
||||||
|
&:hover {
|
||||||
|
fill: $color-white;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -91,10 +91,12 @@
|
||||||
(-> (assoc shape :drawing? true)
|
(-> (assoc shape :drawing? true)
|
||||||
(shapes/render-component))
|
(shapes/render-component))
|
||||||
(when-not (:free shape)
|
(when-not (:free shape)
|
||||||
[:circle {:cx x
|
[:circle.close-bezier {:cx x
|
||||||
:cy y
|
:cy y
|
||||||
:r 5
|
:r 5
|
||||||
:fill "red"
|
:stroke "#d52747"
|
||||||
|
:stroke-width "2px"
|
||||||
|
:style {:cursor "pointer"}
|
||||||
:on-click on-click}])])))
|
:on-click on-click}])])))
|
||||||
|
|
||||||
;; --- Drawing Initialization
|
;; --- Drawing Initialization
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue