Skip to content

Commit

Permalink
ui: Fix port padding scale
Browse files Browse the repository at this point in the history
  • Loading branch information
mborgerson committed May 17, 2022
1 parent 3451fdb commit f375a0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/xui/main-menu.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit f375a0c

Please sign in to comment.