Made break mode get set to 'none' when collapsing
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
#Autogenerated file. Do not modify.
|
#Autogenerated file. Do not modify.
|
||||||
#Mon Feb 26 18:01:50 EST 2018
|
#Mon Feb 26 19:08:43 EST 2018
|
||||||
version=release
|
version=release
|
||||||
androidBuildCode=291
|
androidBuildCode=292
|
||||||
name=Mindustry
|
name=Mindustry
|
||||||
code=3.3
|
code=3.3
|
||||||
build=custom build
|
build=custom build
|
||||||
|
|||||||
@@ -214,6 +214,7 @@ public class PlacementFragment implements Fragment{
|
|||||||
breaktable.getParent().swapActor(breaktable, next);
|
breaktable.getParent().swapActor(breaktable, next);
|
||||||
|
|
||||||
if(!show){
|
if(!show){
|
||||||
|
control.input().breakMode = PlaceMode.none;
|
||||||
breaktable.actions(Actions.translateBy(-breaktable.getWidth() - 5, 0, dur, in), Actions.call(() -> shown = false));
|
breaktable.actions(Actions.translateBy(-breaktable.getWidth() - 5, 0, dur, in), Actions.call(() -> shown = false));
|
||||||
}else{
|
}else{
|
||||||
shown = true;
|
shown = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user