Decrease scroll zone.
This commit is contained in:
parent
7b366537be
commit
b3628c17b5
|
@ -196,7 +196,7 @@ static void scrollGalaxy(void)
|
||||||
ssx = ssy = 0;
|
ssx = ssy = 0;
|
||||||
|
|
||||||
dist = getDistance(SCREEN_WIDTH / 2, SCREEN_HEIGHT / 2, app.mouse.x, app.mouse.y);
|
dist = getDistance(SCREEN_WIDTH / 2, SCREEN_HEIGHT / 2, app.mouse.x, app.mouse.y);
|
||||||
if (dist > 196)
|
if (dist > 256)
|
||||||
{
|
{
|
||||||
dx = (SCREEN_WIDTH / 2) - app.mouse.x;
|
dx = (SCREEN_WIDTH / 2) - app.mouse.x;
|
||||||
dy = (SCREEN_HEIGHT / 2) - app.mouse.y;
|
dy = (SCREEN_HEIGHT / 2) - app.mouse.y;
|
||||||
|
|
Loading…
Reference in New Issue