fix: improve SCUM map playback filters
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import * as React from "react";
|
||||
import { createRoot } from "react-dom/client";
|
||||
import { createScumMapFixture, scumMapContext, scumMapPage } from "./fixtures/scum-map";
|
||||
import { loadPluginPageBundle } from "../utils/pluginPageBundles";
|
||||
import { applyThemePalette } from "../theme/tokens";
|
||||
import "../theme/base.css";
|
||||
|
||||
globalThis.__PLUGIN_PAGE_REACT__ = React;
|
||||
applyThemePalette("mecha-black");
|
||||
const MapPage = await loadPluginPageBundle(scumMapPage);
|
||||
const { actions } = createScumMapFixture();
|
||||
createRoot(document.getElementById("root")!).render(<main style={{ padding: 24 }}><h1>SCUM 地图交互验证</h1><p>固定测试数据,用于检查回放、缩放和详情。</p><MapPage context={scumMapContext} workspaceActions={actions} availability={{ available: true }} /></main>);
|
||||
Reference in New Issue
Block a user