mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-25 23:44:35 +00:00
Fix scroll events direction on Wayland.
This commit is contained in:
parent
7f00ae8c83
commit
ac87b05dcb
@ -103,11 +103,11 @@ static void PointerAxis( void*, struct wl_pointer* pointer, uint32_t time, uint3
|
|||||||
s_wheel = true;
|
s_wheel = true;
|
||||||
if( axis == WL_POINTER_AXIS_HORIZONTAL_SCROLL )
|
if( axis == WL_POINTER_AXIS_HORIZONTAL_SCROLL )
|
||||||
{
|
{
|
||||||
s_wheelAxisX += value;
|
s_wheelAxisX -= value;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
s_wheelAxisY += value;
|
s_wheelAxisY -= value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user