Merge pull request #12817 from iwubcode/imgui-mouse-position-event

VideoCommon: use imgui mouse position event when the mouse position changes
This commit is contained in:
Scott Mansell 2024-06-05 18:50:26 +12:00 committed by GitHub
commit dbe7616bdd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

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)