From 32b60fe49e282c01286447dc3b51a49933eb284d Mon Sep 17 00:00:00 2001 From: doom Date: Wed, 20 Dec 2023 12:28:18 -0800 Subject: [PATCH 1/2] ui fiddle --- tgui/packages/tgui/interfaces/TacticalMap.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tgui/packages/tgui/interfaces/TacticalMap.tsx b/tgui/packages/tgui/interfaces/TacticalMap.tsx index 92996038719f..6c7de936a865 100644 --- a/tgui/packages/tgui/interfaces/TacticalMap.tsx +++ b/tgui/packages/tgui/interfaces/TacticalMap.tsx @@ -31,7 +31,7 @@ interface TacMapProps { const PAGES = [ { - title: 'tacmap', + title: 'Live Tacmap', canOpen: (data) => { return 1; }, @@ -42,7 +42,7 @@ const PAGES = [ }, }, { - title: 'old canvas', + title: 'Map View', canOpen: (data) => { return 1; }, @@ -53,7 +53,7 @@ const PAGES = [ }, }, { - title: 'new canvas', + title: 'Canvas', canOpen: (data) => { return data.tacmapReady; }, From 9bca4b79b26bf55c30c3635c532d2bd7f6c8a623 Mon Sep 17 00:00:00 2001 From: doom Date: Thu, 21 Dec 2023 13:01:19 -0800 Subject: [PATCH 2/2] modify hardcoded value --- code/controllers/subsystem/minimap.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/controllers/subsystem/minimap.dm b/code/controllers/subsystem/minimap.dm index 50aec8845dd0..2c25468be837 100644 --- a/code/controllers/subsystem/minimap.dm +++ b/code/controllers/subsystem/minimap.dm @@ -819,7 +819,7 @@ SUBSYSTEM_DEF(minimaps) switch (action) if ("menuSelect") - if(params["selection"] != "new canvas") + if(params["selection"] != "Canvas") if(updated_canvas) updated_canvas = FALSE toolbar_updated_selection = toolbar_color_selection // doing this if it == canvas can cause a latency issue with the stroke.