fix: improve SCUM map playback filters

This commit is contained in:
npc0-hue
2026-09-20 10:45:32 +08:00
parent 60d479db71
commit 312804c55e
32 changed files with 770 additions and 293 deletions
@@ -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>);