diff --git a/pcsx2/ImGui/ImGuiFullscreen.cpp b/pcsx2/ImGui/ImGuiFullscreen.cpp index 11eec83ae8..af34acc6f2 100644 --- a/pcsx2/ImGui/ImGuiFullscreen.cpp +++ b/pcsx2/ImGui/ImGuiFullscreen.cpp @@ -1616,10 +1616,9 @@ bool ImGuiFullscreen::ToggleButton( const float toggle_width = LayoutScale(50.0f); const float toggle_height = LayoutScale(25.0f); - const float toggle_x = LayoutScale(8.0f); const float toggle_y = (LayoutScale(height) - toggle_height) * 0.5f; const float toggle_radius = toggle_height * 0.5f; - const ImVec2 toggle_pos(bb.Max.x - toggle_width - toggle_x, bb.Min.y + toggle_y); + const ImVec2 toggle_pos(bb.Max.x - toggle_width, bb.Min.y + toggle_y); if (pressed) *v = !*v; @@ -1687,10 +1686,9 @@ bool ImGuiFullscreen::ThreeWayToggleButton( const float toggle_width = LayoutScale(50.0f); const float toggle_height = LayoutScale(25.0f); - const float toggle_x = LayoutScale(8.0f); - const float toggle_y = (LayoutScale(LAYOUT_MENU_BUTTON_HEIGHT) - toggle_height) * 0.5f; + const float toggle_y = (LayoutScale(height) - toggle_height) * 0.5f; const float toggle_radius = toggle_height * 0.5f; - const ImVec2 toggle_pos(bb.Max.x - toggle_width - toggle_x, bb.Min.y + toggle_y); + const ImVec2 toggle_pos(bb.Max.x - toggle_width, bb.Min.y + toggle_y); if (pressed) {