From 002062e88b1a730af6bbd23a13056fe73f703a62 Mon Sep 17 00:00:00 2001
From: Cthulhu80 <122310258+Cthulhu80@users.noreply.github.com>
Date: Thu, 21 Dec 2023 16:28:32 -0500
Subject: [PATCH] minor tacmap ui change (#5264)
# About the pull request
it's kind of been bothering me for a bit, just some minor tacmap ui
changes.
# Explain why it's good for the game
I got ocd, please merge.
# Testing Photographs and Procedure
# Changelog
:cl:
ui: tacmap ui tweaks
/:cl:
---
code/controllers/subsystem/minimap.dm | 6 +++---
tgui/packages/tgui/interfaces/TacticalMap.tsx | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/code/controllers/subsystem/minimap.dm b/code/controllers/subsystem/minimap.dm
index e2ebffe55959..a808e7e3fd85 100644
--- a/code/controllers/subsystem/minimap.dm
+++ b/code/controllers/subsystem/minimap.dm
@@ -826,9 +826,9 @@ SUBSYSTEM_DEF(minimaps)
faction = allowed_flags == MINIMAP_FLAG_XENO ? XENO_HIVE_NORMAL : FACTION_MARINE
var/drawing_allowed = !is_observer && can_draw(faction, user)
- switch(action)
- if("menuSelect")
- if(params["selection"] != "new canvas")
+ switch (action)
+ if ("menuSelect")
+ 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.
diff --git a/tgui/packages/tgui/interfaces/TacticalMap.tsx b/tgui/packages/tgui/interfaces/TacticalMap.tsx
index 0888212a83fb..34f214b1d1d3 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;
},