Skip to content

Commit

Permalink
Added an option to hide the friends list (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
CriticalFlaw committed Jul 13, 2022
1 parent 1e06266 commit 0ac6905
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/TF2HUD.Editor/JSON/Shared/controls.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
18 changes: 18 additions & 0 deletions src/TF2HUD.Editor/JSON/flawhud.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down

0 comments on commit 0ac6905

Please sign in to comment.