VideoCommon: use imgui mouse position event when the mouse position changes
This commit is contained in:
1 parent
46a89936ae
commit
51b69bb339
1 file changed
+1
-2
@@ -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