[Commands GUI] Perform HUD scaling only if enabled
This commit is contained in:
parent
68855130db
commit
c210b2ead6
1 changed files with 2 additions and 2 deletions
|
@ -44,7 +44,7 @@ end
|
||||||
|
|
||||||
local function draw(commands_list, selected_command_index)
|
local function draw(commands_list, selected_command_index)
|
||||||
-- VT2 requires applying additional HUD scaling
|
-- 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)
|
UPDATE_RESOLUTION_LOOKUP(true, UISettings.hud_scale * 0.01)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -157,7 +157,7 @@ local function draw(commands_list, selected_command_index)
|
||||||
total_number_indicator_position, Color(255, 100, 100, 100))
|
total_number_indicator_position, Color(255, 100, 100, 100))
|
||||||
end
|
end
|
||||||
|
|
||||||
if not VT1 then
|
if not VT1 and UISettings.use_custom_hud_scale then
|
||||||
UPDATE_RESOLUTION_LOOKUP(true)
|
UPDATE_RESOLUTION_LOOKUP(true)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue