From 0ac69053f56e136bf0a500b4def1ee7983af3f05 Mon Sep 17 00:00:00 2001 From: CriticalFlaw Date: Tue, 12 Jul 2022 23:11:56 -0400 Subject: [PATCH] Added an option to hide the friends list (#121) --- src/TF2HUD.Editor/JSON/Shared/controls.json | 18 ++++++++++++++++++ src/TF2HUD.Editor/JSON/flawhud.json | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/src/TF2HUD.Editor/JSON/Shared/controls.json b/src/TF2HUD.Editor/JSON/Shared/controls.json index a65760a1..04a40a00 100644 --- a/src/TF2HUD.Editor/JSON/Shared/controls.json +++ b/src/TF2HUD.Editor/JSON/Shared/controls.json @@ -46,6 +46,24 @@ } } } + }, + { + "Name": "hide_friends_list", + "Label": "Hide Friends List", + "Type": "Checkbox", + "ToolTip": "Hide the friends list seen on the main menu.", + "Value": false, + "Restart": true, + "Files": { + "resource/ui/mainmenuoverride.res": { + "FriendsContainer": { + "visible": { + "true": "0", + "false": "1" + } + } + } + } } ], "Item Quality": [ diff --git a/src/TF2HUD.Editor/JSON/flawhud.json b/src/TF2HUD.Editor/JSON/flawhud.json index 2e5c9ba1..dc4f5d3c 100644 --- a/src/TF2HUD.Editor/JSON/flawhud.json +++ b/src/TF2HUD.Editor/JSON/flawhud.json @@ -1086,6 +1086,24 @@ } } } + }, + { + "Name": "fh_hide_friends_list", + "Label": "Hide Friends List", + "Type": "Checkbox", + "ToolTip": "Hide the friends list seen on the main menu.", + "Value": "false", + "Restart": true, + "Files": { + "resource/ui/mainmenuoverride.res": { + "FriendsContainer": { + "visible": { + "true": "0", + "false": "1" + } + } + } + } } ], "Main Menu": [