DebugLabelsStore -> DebugLabelsState

This commit is contained in:
azykov@mail.ru
2026-06-18 10:28:31 +03:00
parent 9d0f97e9ea
commit 076cded364
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ import { useFrame } from "@react-three/fiber";
import { useRef } from "react";
import * as THREE from "three";
import type { RuntimeObjectInstance } from "../types";
import { debugLabelsStore } from "../state/debugLabelsStore";
import { debugLabelsStore } from "../state/debugLabelsState";
import { state } from "../state";
import { observer } from "mobx-react-lite";
import { formatV3 } from "../utils";
+1 -1
View File
@@ -1,6 +1,6 @@
import { useEffect } from "react";
import { observer } from "mobx-react-lite";
import { debugLabelsStore } from "../state/debugLabelsStore";
import { debugLabelsStore } from "../state/debugLabelsState";
import { DebugLabel } from "./DebugLabel";
import type { RuntimeScene } from "../types";
+1 -1
View File
@@ -5,7 +5,7 @@ import { populateRuntimeScene } from "../utils/runtime";
import { ScriptGameEventBus } from "../scripts/eventBus";
import * as ScriptActions from "../scripts/actions";
import { positionOfObject } from "../scripts/positionOfObject";
import { debugLabelsStore } from "../state/debugLabelsStore";
import { debugLabelsStore } from "../state/debugLabelsState";
import type { ScriptCoroutines } from "../scripts/coroutines";
// // eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -1,6 +1,6 @@
import { makeAutoObservable } from "mobx";
class DebugLabelsStore {
class DebugLabelsState {
public labels = new Map<string, Record<string, string>>();
constructor() {
@@ -36,4 +36,4 @@ class DebugLabelsStore {
}
}
export const debugLabelsStore = new DebugLabelsStore();
export const debugLabelsStore = new DebugLabelsState();