🐛 Use new icons in stroke cap dropdown
|
@ -0,0 +1,3 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" stroke-linecap="round" stroke-linejoin="round">
|
||||||
|
<path d="M15.5 7.617h-14m14 0l-6.008 4.996M15.5 7.617L9.492 2.613"/>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 186 B |
|
@ -0,0 +1,3 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" stroke-linecap="round" stroke-linejoin="round">
|
||||||
|
<path d="M5.8 8a4.7 4.7 0 109.4 0 4.7 4.7 0 00-9.4 0zm0 0H1.5m5.643 1.68h.396m1.184 1.677h.395M7.143 6.321h.396m1.184 1.68h.395m1.185 1.678h.394m1.185 1.678h.396M8.723 4.643h.395m1.185 1.678h.394m1.185 1.68h.396m1.184 1.678h.395m-1.974-5.036h.395m1.184 1.678h.395"/>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 384 B |
|
@ -0,0 +1,3 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" stroke-linecap="round" stroke-linejoin="round">
|
||||||
|
<path d="M6.888 9.656h.391m1.168 1.656h.39M6.888 6.344h.391M8.447 8h.39m1.168 1.656h.39m1.168 1.656h.391M8.447 4.688h.39m1.168 1.656h.39M11.563 8h.391m1.169 1.656h.389m-1.947-4.968h.389m1.169 1.656h.389M1.5 8H5m-.025.18l5.045 5.045a.254.254 0 00.36 0l5.045-5.045a.255.255 0 00.056-.277.255.255 0 00-.056-.083L10.38 2.775a.253.253 0 00-.36 0L4.975 7.82a.253.253 0 000 .36z"/>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 492 B |
|
@ -0,0 +1,3 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" stroke-linecap="round" stroke-linejoin="round">
|
||||||
|
<path d="M7.167 9.667h.393m1.176 1.666h.392m-1.961-5h.393M8.736 8h.392m1.176 1.667h.392m1.176 1.666h.393M8.736 4.667h.392m1.176 1.666h.392M11.872 8h.393m1.176 1.667h.392m-1.96-5h.392m1.176 1.666h.392M1.5 8h5m0-4h8v8h-8V4z"/>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 342 B |
|
@ -0,0 +1,3 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" stroke-linecap="round" stroke-linejoin="round">
|
||||||
|
<path d="M.833 4h10.098c2.34 0 4.236 1.791 4.236 4s-1.896 4-4.236 4H.833"/>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 193 B |
|
@ -0,0 +1,3 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" stroke-linecap="round" stroke-linejoin="round">
|
||||||
|
<path d="M.833 4h14.334v8H.833"/>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 153 B |
|
@ -0,0 +1,3 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" stroke-linecap="round" stroke-linejoin="round">
|
||||||
|
<path d="M7.633 9.627h.374m1.117 1.627h.372M7.633 6.373h.374M9.124 8h.372m1.117 1.627h.372M9.124 4.746h.372m1.117 1.627h.372M12.102 8h.373M1.5 8l5.5.004m7.88-.225l-7.494-4.74a.246.246 0 00-.256-.006.262.262 0 00-.13.227v9.48c0 .094.05.181.13.227.08.046.178.044.256-.006l7.494-4.74A.26.26 0 0015 8a.26.26 0 00-.12-.221z"/>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 441 B |
|
@ -441,6 +441,13 @@
|
||||||
(def ^:icon status-update-refactor (icon-xref :status-update-refactor))
|
(def ^:icon status-update-refactor (icon-xref :status-update-refactor))
|
||||||
(def ^:icon status-tick-refactor (icon-xref :status-tick-refactor))
|
(def ^:icon status-tick-refactor (icon-xref :status-tick-refactor))
|
||||||
(def ^:icon status-wrong-refactor (icon-xref :status-wrong-refactor))
|
(def ^:icon status-wrong-refactor (icon-xref :status-wrong-refactor))
|
||||||
|
(def ^:icon stroke-arrow-refactor (icon-xref :stroke-arrow-refactor))
|
||||||
|
(def ^:icon stroke-circle-refactor (icon-xref :stroke-circle-refactor))
|
||||||
|
(def ^:icon stroke-diamond-refactor (icon-xref :stroke-diamond-refactor))
|
||||||
|
(def ^:icon stroke-rectangle-refactor (icon-xref :stroke-rectangle-refactor))
|
||||||
|
(def ^:icon stroke-rounded-refactor (icon-xref :stroke-rounded-refactor))
|
||||||
|
(def ^:icon stroke-squared-refactor (icon-xref :stroke-squared-refactor))
|
||||||
|
(def ^:icon stroke-triangle-refactor (icon-xref :stroke-triangle-refactor))
|
||||||
(def ^:icon stroke-size-refactor (icon-xref :stroke-size-refactor))
|
(def ^:icon stroke-size-refactor (icon-xref :stroke-size-refactor))
|
||||||
(def ^:icon svg-refactor (icon-xref :svg-refactor))
|
(def ^:icon svg-refactor (icon-xref :svg-refactor))
|
||||||
(def ^:icon swatches-refactor (icon-xref :swatches-refactor))
|
(def ^:icon swatches-refactor (icon-xref :swatches-refactor))
|
||||||
|
|
|
@ -123,14 +123,14 @@
|
||||||
stroke-caps-options
|
stroke-caps-options
|
||||||
[{:value nil :label (tr "workspace.options.stroke-cap.none")}
|
[{:value nil :label (tr "workspace.options.stroke-cap.none")}
|
||||||
:separator
|
:separator
|
||||||
{:value :line-arrow :label (tr "workspace.options.stroke-cap.line-arrow-short") :icon :cap-line-arrow}
|
{:value :line-arrow :label (tr "workspace.options.stroke-cap.line-arrow-short") :icon :stroke-arrow-refactor}
|
||||||
{:value :triangle-arrow :label (tr "workspace.options.stroke-cap.triangle-arrow-short") :icon :cap-triangle-arrow}
|
{:value :triangle-arrow :label (tr "workspace.options.stroke-cap.triangle-arrow-short") :icon :stroke-triangle-refactor}
|
||||||
{:value :square-marker :label (tr "workspace.options.stroke-cap.square-marker-short") :icon :cap-square-marker}
|
{:value :square-marker :label (tr "workspace.options.stroke-cap.square-marker-short") :icon :stroke-rectangle-refactor}
|
||||||
{:value :circle-marker :label (tr "workspace.options.stroke-cap.circle-marker-short") :icon :cap-circle-marker}
|
{:value :circle-marker :label (tr "workspace.options.stroke-cap.circle-marker-short") :icon :stroke-circle-refactor}
|
||||||
{:value :diamond-marker :label (tr "workspace.options.stroke-cap.diamond-marker-short") :icon :cap-diamond-marker}
|
{:value :diamond-marker :label (tr "workspace.options.stroke-cap.diamond-marker-short") :icon :stroke-diamond-refactor}
|
||||||
:separator
|
:separator
|
||||||
{:value :round :label (tr "workspace.options.stroke-cap.round") :icon :cap-round}
|
{:value :round :label (tr "workspace.options.stroke-cap.round") :icon :stroke-rounded-refactor}
|
||||||
{:value :square :label (tr "workspace.options.stroke-cap.square") :icon :cap-square}]
|
{:value :square :label (tr "workspace.options.stroke-cap.square") :icon :stroke-squared-refactor}]
|
||||||
|
|
||||||
on-cap-switch
|
on-cap-switch
|
||||||
(mf/use-callback
|
(mf/use-callback
|
||||||
|
|