mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Fix scrolling in scroll containers (#14702)
This commit is contained in:
parent
75f3a2183f
commit
ec9c000be9
3 changed files with 3 additions and 1 deletions
|
@ -852,6 +852,7 @@ bool CIrrDeviceMacOSX::run()
|
|||
ievent.MouseInput.Wheel *= 10.0f;
|
||||
else
|
||||
ievent.MouseInput.Wheel *= 5.0f;
|
||||
ievent.MouseInput.ButtonStates = MouseButtonStates;
|
||||
postMouseEvent(event, ievent);
|
||||
break;
|
||||
|
||||
|
@ -1048,6 +1049,7 @@ void CIrrDeviceMacOSX::storeMouseLocation()
|
|||
ievent.MouseInput.Event = irr::EMIE_MOUSE_MOVED;
|
||||
ievent.MouseInput.X = x;
|
||||
ievent.MouseInput.Y = y;
|
||||
ievent.MouseInput.ButtonStates = MouseButtonStates;
|
||||
postEventFromUser(ievent);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue