mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-12 06:39:14 +01:00
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:
commit
dbe7616bdd
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user