misc: 턴 선택기에 기본턴 선택. 다른 턴 선택시 무효화.
This commit is contained in:
@@ -63,7 +63,7 @@
|
|||||||
<div class="idx_pad center d-grid" @click="toggleTurn(turnIdx)">
|
<div class="idx_pad center d-grid" @click="toggleTurn(turnIdx)">
|
||||||
<b-button
|
<b-button
|
||||||
size="sm"
|
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
|
>{{ turnIdx + 1 }}</b-button
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
@@ -560,6 +560,10 @@ export default defineComponent({
|
|||||||
.commandPad {
|
.commandPad {
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
|
|
||||||
|
.btn{
|
||||||
|
transition: none !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.month_pad,
|
.month_pad,
|
||||||
|
|||||||
Reference in New Issue
Block a user