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
+1
View File
@@ -1,6 +1,7 @@
import type { Vector3Tuple } from "@/types/three/three";
export interface MapNode {
id?: string;
name: string;
type: string;
position: Vector3Tuple;
+2 -2
View File
@@ -1,4 +1,4 @@
export type TerrainSurfaceKind =
type TerrainSurfaceKind =
| "grass"
| "path"
| "water"
@@ -6,7 +6,7 @@ export type TerrainSurfaceKind =
| "dirt"
| "rock";
export type TerrainSurfaceRgb = readonly [number, number, number];
type TerrainSurfaceRgb = readonly [number, number, number];
export interface TerrainSurfaceBounds {
minX: number;