mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Horizontal scroll wheel support
This commit is contained in:
parent
a944aa6d24
commit
72242aa31c
11 changed files with 51 additions and 28 deletions
|
@ -273,7 +273,7 @@ namespace IDE.ui
|
|||
let windowRect = Rect(mWidgetWindow.mX, mWidgetWindow.mY, mWidgetWindow.mWindowWidth, mWidgetWindow.mWindowHeight);
|
||||
if (windowRect.Contains(mouseScreenX, mouseScreenY))
|
||||
{
|
||||
MouseWheel(evt.mX - mWidgetWindow.mX, evt.mY - mWidgetWindow.mY, evt.mWheelDelta);
|
||||
MouseWheel(evt.mX - mWidgetWindow.mX, evt.mY - mWidgetWindow.mY, evt.mWheelDeltaX, evt.mWheelDeltaY);
|
||||
evt.mHandled = true;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue