Fixed some bugs/crashes

This commit is contained in:
Anuken
2018-11-20 10:00:13 -05:00
parent 55781e911e
commit 5ced5ce253
4 changed files with 5 additions and 4 deletions

View File

@@ -226,6 +226,7 @@ public class PlacementFragment extends Fragment{
/**Show or hide the placement menu.*/
void toggle(float t, Interpolation ip){
toggler.clearActions();
if(shown){
shown = false;
toggler.actions(Actions.translateBy(toggler.getTranslation().x + toggler.getWidth(), 0, t, ip));