From c210b2ead610045ccb9544a6a03b366b55dc11a4 Mon Sep 17 00:00:00 2001 From: Azumgi <4zumgi@gmail.com> Date: Mon, 15 Apr 2019 14:50:13 +0300 Subject: [PATCH] [Commands GUI] Perform HUD scaling only if enabled --- vmf/scripts/mods/vmf/modules/ui/chat/commands_list_gui.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vmf/scripts/mods/vmf/modules/ui/chat/commands_list_gui.lua b/vmf/scripts/mods/vmf/modules/ui/chat/commands_list_gui.lua index accb8c7..fc81a20 100644 --- a/vmf/scripts/mods/vmf/modules/ui/chat/commands_list_gui.lua +++ b/vmf/scripts/mods/vmf/modules/ui/chat/commands_list_gui.lua @@ -44,7 +44,7 @@ end local function draw(commands_list, selected_command_index) -- VT2 requires applying additional HUD scaling - if not VT1 then + if not VT1 and UISettings.use_custom_hud_scale then UPDATE_RESOLUTION_LOOKUP(true, UISettings.hud_scale * 0.01) end @@ -157,7 +157,7 @@ local function draw(commands_list, selected_command_index) total_number_indicator_position, Color(255, 100, 100, 100)) end - if not VT1 then + if not VT1 and UISettings.use_custom_hud_scale then UPDATE_RESOLUTION_LOOKUP(true) end end