Skip to content

Commit

Permalink
fix: 右クリックメニューの中の駒を rotate するようにした
Browse files Browse the repository at this point in the history
  • Loading branch information
hideboz committed Aug 30, 2023
1 parent 68fab9a commit 395e7c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/TheBoard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ onMounted(() => {
<g transform="translate(0, 0)" v-if="rightClickMenu.hasUra()">.
<rect width="120" height="110" style="fill: #666666; fill-opacity: 0.9;" />
<g transform="translate(10, 10)">
<use width="100" height="100" :href="rightClickMenu.getKomaUraId()" />
<use width="100" height="100" :href="rightClickMenu.getKomaUraId()" :transform="directionFlag ? '' : 'rotate(180, 50, 50)'" />
<rect width="100" height="100" class="square" @click="clickSetUra" />
</g>
</g>
Expand All @@ -487,7 +487,7 @@ onMounted(() => {
<g :transform="'translate(0, ' + (rightClickMenu.hasUra() ? 110 : 0) + ')'">
<rect width="120" height="120" style="fill: #666666; fill-opacity: 0.9;" />
<g transform="translate(10, 10)">
<use width="100" height="100" :href="rightClickMenu.getKomaSengoGyakuId()" />
<use width="100" height="100" :href="rightClickMenu.getKomaSengoGyakuId()" :transform="directionFlag ? '' : 'rotate(180, 50, 50)'" />
<rect width="100" height="100" class="square" @click="clickSetSengoGyaku" />
</g>
</g>
Expand Down

0 comments on commit 395e7c0

Please sign in to comment.