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:
parent
a944aa6d24
commit
72242aa31c
11 changed files with 51 additions and 28 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue