mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-22 00:13:12 +09:00
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:
1 parent
f5aeaff256
commit
fc466ec799
8 files changed
+843
-189
No files matched your search
@@ -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"],
|
||||
};
|
||||
Reference in new issue
Block a user