mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-25 06:47:19 +00:00
[client] minor nit: compare double to double const
This commit is contained in:
parent
8217d5efa5
commit
25d6d88adb
@ -1067,7 +1067,7 @@ void handleMouseNormal(double ex, double ey)
|
||||
g_cursor.delta.x += x;
|
||||
g_cursor.delta.y += y;
|
||||
|
||||
if (fabs(g_cursor.delta.x) > 50 || fabs(g_cursor.delta.y) > 50)
|
||||
if (fabs(g_cursor.delta.x) > 50.0 || fabs(g_cursor.delta.y) > 50.0)
|
||||
{
|
||||
g_cursor.delta.x = 0;
|
||||
g_cursor.delta.y = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user