Add chart tag support

Also fixes react state management issues, moving a few things over to useRef and showing all instances instead of using a custom solution
This commit is contained in:
Danielv123 committed 2025-08-10 00:28:48 +02:00
1 parent f5aeaff256
commit fc466ec799
8 files changed
+843 -189

No files matched your search

+4 -2
View File
@@ -2,8 +2,9 @@ import * as lib from "@clusterio/lib";
import {
TileDataEvent,
GetInstanceBoundsRequest,
ChartTagDataEvent,
GetRawTileRequest,
GetChartTagsRequest,
} from "./messages";
// Define permissions
@@ -24,8 +25,9 @@ export const plugin: lib.PluginDeclaration = {
messages: [
TileDataEvent,
GetInstanceBoundsRequest,
ChartTagDataEvent,
GetRawTileRequest,
GetChartTagsRequest,
],
routes: ["/minimap"],
};