From f375a0cb8014eb2256657ccf57b01cc69356a30d Mon Sep 17 00:00:00 2001 From: Matt Borgerson Date: Tue, 17 May 2022 16:31:20 -0700 Subject: [PATCH] ui: Fix port padding scale --- ui/xui/main-menu.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/xui/main-menu.cc b/ui/xui/main-menu.cc index 1a9829e563..06bdaade7a 100644 --- a/ui/xui/main-menu.cc +++ b/ui/xui/main-menu.cc @@ -120,7 +120,7 @@ void MainMenuInputView::Draw() ImVec2(b_w*g_viewport_mgr.m_scale,b_h*g_viewport_mgr.m_scale), ImVec2(x/t_w, (b_y+b_h)/t_h), ImVec2((x+b_w)/t_w, b_y/t_h), - port_padding); + port_padding * g_viewport_mgr.m_scale); ImGui::PopStyleColor(); if (activated) {