fix(game-ui): 메인과 지도 화면 모드 경계를 통일한다

This commit is contained in:
2026-08-27 10:24:44 +00:00
parent e6824d6032
commit a35dcc78b3
5 changed files with 77 additions and 2 deletions
@@ -9,6 +9,7 @@ import { useMapViewerStore } from '../../stores/mapViewer';
import { buildAssetUrl } from '../../utils/mapAssets';
import { resolveMapBackgroundPath, resolveMapSeason, resolveNextMapSeason } from '../../utils/mapBackground';
import { configuredGameAssetUrl } from '../../utils/imageAssets';
import { SCREEN_MODE_DESKTOP_MEDIA_QUERY } from '../../utils/screenModeViewport';
interface MapSummary {
year: number;
@@ -133,7 +134,7 @@ const preloadDecodedImage = (url: string): Promise<void> => {
return pending;
};
const isWide = useMediaQuery('(min-width: 1024px)');
const isWide = useMediaQuery(SCREEN_MODE_DESKTOP_MEDIA_QUERY);
const mapStore = useMapViewerStore();
const {
showCityName,