Skip to content

Commit 1b03bd0

Browse files
committed
Changed rotate buttons
1 parent 54a6a8f commit 1b03bd0

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

src/components/maskeditor/dialog/TopBarHeader.vue

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@
4343
@click="onRotateLeft"
4444
>
4545
<svg
46-
viewBox="0 0 15 15"
46+
viewBox="-6 -7 15 15"
4747
class="h-6.25 w-6.25 pointer-events-none fill-[var(--input-text)]"
4848
>
4949
<path
50-
d="M7.5,2.5c2.76,0,5,2.24,5,5s-2.24,5-5,5c-2.21,0-4.09-1.44-4.75-3.43-.08-.24.05-.5.29-.58.24-.08.5.05.58.29.54,1.63,2.08,2.81,3.88,2.81,2.26,0,4.09-1.83,4.09-4.09s-1.83-4.09-4.09-4.09c-1.13,0-2.15.46-2.89,1.2l1.39,1.39c.13.13.16.32.08.48-.08.16-.24.26-.42.26h-3.18c-.28,0-.5-.22-.5-.5v-3.18c0-.18.1-.34.26-.42.16-.08.35-.05.48.08l1.05,1.05c.95-.95,2.26-1.54,3.71-1.54Z"
50+
d="m2.25-2.625c.3452 0 .625.2798.625.625v5c0 .3452-.2798.625-.625.625h-5c-.3452 0-.625-.2798-.625-.625v-5c0-.3452.2798-.625.625-.625h5zm1.25.625v5c0 .6904-.5596 1.25-1.25 1.25h-5c-.6904 0-1.25-.5596-1.25-1.25v-5c0-.6904.5596-1.25 1.25-1.25h5c.6904 0 1.25.5596 1.25 1.25zm-.1673-2.3757-.4419.4419-1.5246-1.5246 1.5416-1.5417.442.4419-.7871.7872h.9373c1.3807 0 2.5 1.1193 2.5 2.5h-.625c0-1.0355-.8395-1.875-1.875-1.875h-.9375l.7702.7702z"
5151
/>
5252
</svg>
5353
</button>
@@ -58,12 +58,14 @@
5858
@click="onRotateRight"
5959
>
6060
<svg
61-
viewBox="0 0 15 15"
61+
viewBox="-9 -7 15 15"
6262
class="h-6.25 w-6.25 pointer-events-none fill-[var(--input-text)]"
6363
>
64-
<path
65-
d="M7.5,2.5c-2.76,0-5,2.24-5,5s2.24,5,5,5c2.21,0,4.09-1.44,4.75-3.43.08-.24-.05-.5-.29-.58-.24-.08-.5.05-.58.29-.54,1.63-2.08,2.81-3.88,2.81-2.26,0-4.09-1.83-4.09-4.09s1.83-4.09,4.09-4.09c1.13,0,2.15.46,2.89,1.2l-1.39,1.39c-.13.13-.16.32-.08.48.08.16.24.26.42.26h3.18c.28,0,.5-.22.5-.5v-3.18c0-.18-.1-.34-.26-.42-.16-.08-.35-.05-.48.08l-1.05,1.05c-.95-.95-2.26-1.54-3.71-1.54Z"
66-
/>
64+
<g transform="scale(-1, 1)">
65+
<path
66+
d="m2.25-2.625c.3452 0 .625.2798.625.625v5c0 .3452-.2798.625-.625.625h-5c-.3452 0-.625-.2798-.625-.625v-5c0-.3452.2798-.625.625-.625h5zm1.25.625v5c0 .6904-.5596 1.25-1.25 1.25h-5c-.6904 0-1.25-.5596-1.25-1.25v-5c0-.6904.5596-1.25 1.25-1.25h5c.6904 0 1.25.5596 1.25 1.25zm-.1673-2.3757-.4419.4419-1.5246-1.5246 1.5416-1.5417.442.4419-.7871.7872h.9373c1.3807 0 2.5 1.1193 2.5 2.5h-.625c0-1.0355-.8395-1.875-1.875-1.875h-.9375l.7702.7702z"
67+
/>
68+
</g>
6769
</svg>
6870
</button>
6971

0 commit comments

Comments
 (0)