mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 13:27:45 -07:00
VideoCommon: use imgui mouse position event when the mouse position changes
This commit is contained in:
parent
46a89936ae
commit
51b69bb339
@ -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…
Reference in New Issue
Block a user