fix(game-ui): 모바일 자율 행동을 한 줄로 표시한다
This commit is contained in:
@@ -1047,6 +1047,15 @@ const clickOutsideMenu = (event: Event) => {
|
||||
font-size: 0.72em;
|
||||
line-height: 1;
|
||||
}
|
||||
.reserved-command-editor.mobile .action-column > div.autonomous {
|
||||
display: flex;
|
||||
flex-flow: row nowrap;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.reserved-command-editor.mobile .action-column > div.autonomous > small {
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
.edit-column button {
|
||||
background: #444;
|
||||
cursor: pointer;
|
||||
|
||||
@@ -29,6 +29,7 @@ const props = defineProps<{
|
||||
storageKey?: string;
|
||||
mapData?: CommandMapData | null;
|
||||
mapLayout?: CommandMapLayout | null;
|
||||
mobile?: boolean;
|
||||
}>();
|
||||
|
||||
const emit = defineEmits<{
|
||||
@@ -143,6 +144,7 @@ onUnmounted(() => {
|
||||
:map-data="props.mapData"
|
||||
:map-layout="props.mapLayout"
|
||||
:autonomous-until="autonomousUntil"
|
||||
:mobile="props.mobile"
|
||||
@reserve-bulk="emit('set-general-turns', $event)"
|
||||
@shift="emit('shift-general-turns', $event)"
|
||||
@repeat="emit('repeat-general-turns', $event)"
|
||||
|
||||
Reference in New Issue
Block a user