fix(game-ui): restore detailed map images

This commit is contained in:
2026-08-13 16:35:52 +00:00
parent b6add2930b
commit 5f2f2a256e
4 changed files with 120 additions and 24 deletions
@@ -63,14 +63,20 @@ interface CityView {
selected: boolean;
}
const props = defineProps<{
mapData: MapSummary | null;
mapLayout: MapLayout | null;
loading: boolean;
selectedCityId?: number | null;
detailMode?: boolean;
fitContainer?: boolean;
}>();
const props = withDefaults(
defineProps<{
mapData: MapSummary | null;
mapLayout: MapLayout | null;
loading: boolean;
selectedCityId?: number | null;
detailMode?: boolean;
fitContainer?: boolean;
}>(),
{
// Vue casts an absent Boolean prop to false unless undefined is an explicit default.
detailMode: undefined,
}
);
const emit = defineEmits<{
(event: 'select-city', cityId: number): void;