From 2558bc53a0a2baae90ce5f98dfdc5d44eed73d50 Mon Sep 17 00:00:00 2001 From: Matt Borgerson Date: Tue, 7 Jan 2025 00:50:46 -0700 Subject: [PATCH] ui: Drop redundant SetCursorPos(GetCursorPos()) --- ui/xui/main-menu.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/ui/xui/main-menu.cc b/ui/xui/main-menu.cc index a9a6c6ec85..dc916a0473 100644 --- a/ui/xui/main-menu.cc +++ b/ui/xui/main-menu.cc @@ -387,9 +387,6 @@ void MainMenuInputView::Draw() ImGui::Image(id, xmu_display_size, ImVec2(0.5f * i, 1), ImVec2(0.5f * (i + 1), 0)); - ImVec2 pos = ImGui::GetCursorPos(); - - ImGui::SetCursorPos(pos); // Button to generate a new XMU ImGui::PushID(i);