mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06: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:
@ -472,8 +472,7 @@ void OnScreenUI::SetMousePos(float x, float y)
|
|||||||
{
|
{
|
||||||
auto lock = GetImGuiLock();
|
auto lock = GetImGuiLock();
|
||||||
|
|
||||||
ImGui::GetIO().MousePos.x = x;
|
ImGui::GetIO().AddMousePosEvent(x, y);
|
||||||
ImGui::GetIO().MousePos.y = y;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void OnScreenUI::SetMousePress(u32 button_mask)
|
void OnScreenUI::SetMousePress(u32 button_mask)
|
||||||
|
Reference in New Issue
Block a user