1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-18 08:06:04 +02:00

Horizontal scroll wheel support

This commit is contained in:
Brian Fiete 2020-10-15 10:00:36 -07:00
parent a944aa6d24
commit 72242aa31c
11 changed files with 51 additions and 28 deletions

View file

@ -2135,11 +2135,11 @@ namespace IDE.ui
}
*/
public override void MouseWheel(float x, float y, float delta)
public override void MouseWheel(float x, float y, float deltaX, float deltaY)
{
base.MouseWheel(x, y, delta);
base.MouseWheel(x, y, deltaX, deltaY);
if (mInfiniteScrollbar != null)
mInfiniteScrollbar.MouseWheel(x, y, delta);
mInfiniteScrollbar.MouseWheel(x, y, deltaX, deltaY);
}
public void ResetPosition(int position)