fix(editor): restore stable map editing behavior

This commit is contained in:
Tom Boullay
2026-05-29 00:52:44 +02:00
parent d5675fe82c
commit 343a122c06
28 changed files with 453 additions and 302 deletions
+2 -2
View File
@@ -81,7 +81,7 @@ export const MAP_INSTANCING_ASSETS = {
},
} as const;
export const MAP_SINGLE_MODEL_SCALE_MULTIPLIERS = {
const MAP_SINGLE_MODEL_SCALE_MULTIPLIERS = {
ebike: 0.3,
} as const satisfies Record<string, number>;
@@ -93,7 +93,7 @@ export function getMapSingleModelScaleMultiplier(name: string): number {
);
}
export function getMapInstancedModelScaleMultiplier(name: string): number {
function getMapInstancedModelScaleMultiplier(name: string): number {
return (
Object.values(MAP_INSTANCING_ASSETS).find(
(config) => config.mapName === name,