changed > to >= in updateButtonsVisibility

Signed-off-by: Aryan <sagavekararyan@gmail.com>
This commit is contained in:
Aryan 2023-03-13 01:10:25 +05:30 committed by Viktor Govako
parent 11ed4aef05
commit 056ecc0680

View file

@ -255,7 +255,7 @@ public class MapButtonsController extends Fragment
{
final View button = entry.getValue();
if (button.getParent() == parent)
showButton(getViewTopOffset(translation, button) > 0, entry.getKey());
showButton(getViewTopOffset(translation, button) >= 0, entry.getKey());
}
}