mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-29 08:54:34 +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;
|
||||
if( axis == WL_POINTER_AXIS_HORIZONTAL_SCROLL )
|
||||
{
|
||||
s_wheelAxisX += value;
|
||||
s_wheelAxisX -= value;
|
||||
}
|
||||
else
|
||||
{
|
||||
s_wheelAxisY += value;
|
||||
s_wheelAxisY -= value;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user