From 7a214046209835df9c53870a19a6b64313b0cf48 Mon Sep 17 00:00:00 2001 From: dj-34 Date: Thu, 9 Nov 2023 18:32:44 +0500 Subject: [PATCH] Tweak: Autocenter nanomap --- tgui/packages/tgui/components/NanoMap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tgui/packages/tgui/components/NanoMap.js b/tgui/packages/tgui/components/NanoMap.js index b1c5440a7fc6..6b97353fdaab 100644 --- a/tgui/packages/tgui/components/NanoMap.js +++ b/tgui/packages/tgui/components/NanoMap.js @@ -22,7 +22,7 @@ export class NanoMap extends Component { super(props); // Auto center based on window size - const Xcenter = window.innerWidth / 2 - 256; + const Xcenter = 0; const Ycenter = window.innerHeight / 2 - 256; this.state = {