misc: 턴 선택기에 기본턴 선택. 다른 턴 선택시 무효화.

This commit is contained in:
2021-12-08 01:36:59 +09:00
parent ea4f1643d4
commit d4d8e0045b
+5 -1
View File
@@ -63,7 +63,7 @@
<div class="idx_pad center d-grid" @click="toggleTurn(turnIdx)">
<b-button
size="sm"
:variant="pressed[turnIdx] ? 'info' : 'primary'"
:variant="pressed[turnIdx] ? 'info' : ((turnIdx==0&&pressed.filter(t=>t).length==0)?'success':'primary')"
>{{ turnIdx + 1 }}</b-button
>
</div>
@@ -560,6 +560,10 @@ export default defineComponent({
.commandPad {
margin-top: 10px;
margin-bottom: 10px;
.btn{
transition: none !important;
}
}
.month_pad,