VideoCommon: use imgui mouse position event when the mouse position changes

This commit is contained in:
iwubcode 2024-05-31 22:31:54 -05:00
parent 46a89936ae
commit 51b69bb339

View File

@ -472,8 +472,7 @@ void OnScreenUI::SetMousePos(float x, float y)
{
auto lock = GetImGuiLock();
ImGui::GetIO().MousePos.x = x;
ImGui::GetIO().MousePos.y = y;
ImGui::GetIO().AddMousePosEvent(x, y);
}
void OnScreenUI::SetMousePress(u32 button_mask)