From 635c851ea8c4bb8a1f3f7382c490c8058ef9e2da Mon Sep 17 00:00:00 2001 From: Vero <73014819+vero5123@users.noreply.github.com> Date: Tue, 4 Jun 2024 06:55:48 -0400 Subject: [PATCH] Fixes TGUI overwatch console & custom font entry ui runtimes (#6370) # About the pull request Fixes #6366. # Explain why it's good for the game bug bad # Changelog :cl: fix: Fixes overwatch console coordinate comment UI crash fix: Fixes chat UI crash after entering a custom font /:cl: --------- Co-authored-by: DOOM --- tgui/packages/tgui-panel/settings/SettingsPanel.jsx | 2 +- tgui/packages/tgui/interfaces/OverwatchConsole.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tgui/packages/tgui-panel/settings/SettingsPanel.jsx b/tgui/packages/tgui-panel/settings/SettingsPanel.jsx index 1073598f2d4b..feda48665589 100644 --- a/tgui/packages/tgui-panel/settings/SettingsPanel.jsx +++ b/tgui/packages/tgui-panel/settings/SettingsPanel.jsx @@ -115,7 +115,7 @@ export const SettingsGeneral = (props) => { + onChange={(e, value) => dispatch( updateSettings({ fontFamily: value, diff --git a/tgui/packages/tgui/interfaces/OverwatchConsole.jsx b/tgui/packages/tgui/interfaces/OverwatchConsole.jsx index 613e976aee5e..6f21c11c125f 100644 --- a/tgui/packages/tgui/interfaces/OverwatchConsole.jsx +++ b/tgui/packages/tgui/interfaces/OverwatchConsole.jsx @@ -763,7 +763,7 @@ const SavedCoordinates = (props) => { + onChange={(e, value) => act('change_coordinate_comment', { comment: value, index: coords.index,