do not return early from _bryce_position()

this causes the returned coords to be garbage values, likely leading to
the bryce being positioned or animating off to the upper-right corner
of the universe that exists beyond the canvas
This commit is contained in:
Mike Blumenkrantz 2016-11-01 13:56:08 -04:00
parent 6e39997ad1
commit 4d86c98ce7
1 changed files with 0 additions and 1 deletions

View File

@ -174,7 +174,6 @@ _bryce_position(Bryce *b, int w, int h, int *nx, int *ny)
}
else
e_efx_move(b->bryce, E_EFX_EFFECT_SPEED_LINEAR, E_EFX_POINT(x, y), 0.5, _bryce_autohide_end, b);
return;
}
else if (b->hidden)
_bryce_autohide_coords(b, &x, &y);