From d6c20b52f6321ec8ee23dcf2828aa9259c11848b Mon Sep 17 00:00:00 2001 From: Kashargul <144968721+Kashargul@users.noreply.github.com> Date: Sat, 14 Jun 2025 00:19:31 +0200 Subject: [PATCH] Panel tweak (#17856) * small panel tweak * This needs to be a string --- code/modules/vore/eating/vorepanel_vr.dm | 2 +- .../VorePanel/VorePanelElements/VorePanelTextArea.tsx | 5 +++-- .../VoreUserPreferencesTabs/VoreUserPreferencesAesthetic.tsx | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/code/modules/vore/eating/vorepanel_vr.dm b/code/modules/vore/eating/vorepanel_vr.dm index 122d39e8960..81ddf2c5c9f 100644 --- a/code/modules/vore/eating/vorepanel_vr.dm +++ b/code/modules/vore/eating/vorepanel_vr.dm @@ -1334,7 +1334,7 @@ CRASH("[type] set message lists with invalid length!") for(var/i = 1, i <= messages.len, i++) - messages[i] = sanitize(messages[i], limit, FALSE, TRUE, FALSE) + messages[i] = sanitize(messages[i], limit, FALSE, TRUE, FALSE) || "" switch(type) if(GENERAL_EXAMINE_NUTRI) diff --git a/tgui/packages/tgui/interfaces/VorePanel/VorePanelElements/VorePanelTextArea.tsx b/tgui/packages/tgui/interfaces/VorePanel/VorePanelElements/VorePanelTextArea.tsx index fc6ec7b93ca..f42364a3c54 100644 --- a/tgui/packages/tgui/interfaces/VorePanel/VorePanelElements/VorePanelTextArea.tsx +++ b/tgui/packages/tgui/interfaces/VorePanel/VorePanelElements/VorePanelTextArea.tsx @@ -191,8 +191,9 @@ export const VorePanelEditTextArea = (props: { - Copy paste the fields as legacy block text. Use enter to - apply. Shift + Enter for new lines. + { + 'Copy paste the fields as legacy block text. Use "Enter" to apply. "Shift + Enter" for new lines.' + } diff --git a/tgui/packages/tgui/interfaces/VorePanel/VoreUserPreferencesTabs/VoreUserPreferencesAesthetic.tsx b/tgui/packages/tgui/interfaces/VorePanel/VoreUserPreferencesTabs/VoreUserPreferencesAesthetic.tsx index 4f0ceb32a47..d126d5623de 100644 --- a/tgui/packages/tgui/interfaces/VorePanel/VoreUserPreferencesTabs/VoreUserPreferencesAesthetic.tsx +++ b/tgui/packages/tgui/interfaces/VorePanel/VoreUserPreferencesTabs/VoreUserPreferencesAesthetic.tsx @@ -150,7 +150,7 @@ export const VoreUserPreferencesAesthetic = (props: { activeMessage={sanitizeCorruption.data} action={aestethicMessages.set_action} listAction="b_msgs" - disableLegacyInput={!Array.isArray(sanitizeCorruption)} + disableLegacyInput={!Array.isArray(sanitizeCorruption.data)} subAction={aestethicMessages.sub_action} button_action={aestethicMessages.button_action} button_label={aestethicMessages.button_label}