mirror of https://github.com/xemu-project/xemu.git
ui: Drop redundant SetCursorPos(GetCursorPos())
This commit is contained in:
parent
4c5858bd20
commit
2558bc53a0
|
@ -387,9 +387,6 @@ void MainMenuInputView::Draw()
|
||||||
|
|
||||||
ImGui::Image(id, xmu_display_size, ImVec2(0.5f * i, 1),
|
ImGui::Image(id, xmu_display_size, ImVec2(0.5f * i, 1),
|
||||||
ImVec2(0.5f * (i + 1), 0));
|
ImVec2(0.5f * (i + 1), 0));
|
||||||
ImVec2 pos = ImGui::GetCursorPos();
|
|
||||||
|
|
||||||
ImGui::SetCursorPos(pos);
|
|
||||||
|
|
||||||
// Button to generate a new XMU
|
// Button to generate a new XMU
|
||||||
ImGui::PushID(i);
|
ImGui::PushID(i);
|
||||||
|
|
Loading…
Reference in New Issue