More misc cleanup
This commit is contained in:
@@ -401,13 +401,11 @@ public class PlacementFragment{
|
||||
mainStack.update(() -> {
|
||||
if(control.input.commandMode != wasCommandMode){
|
||||
mainStack.clearChildren();
|
||||
if(!control.input.commandMode){
|
||||
mainStack.addChild(control.input.commandMode ? commandTable : blockCatTable);
|
||||
mainStack.addChild(control.input.commandMode ? commandTable : blockCatTable);
|
||||
|
||||
//hacky, but forces command table to be same width as blocks
|
||||
if(control.input.commandMode){
|
||||
commandTable.getCells().peek().width(blockCatTable.getWidth());
|
||||
}
|
||||
//hacky, but forces command table to be same width as blocks
|
||||
if(control.input.commandMode){
|
||||
commandTable.getCells().peek().width(blockCatTable.getWidth());
|
||||
}
|
||||
|
||||
wasCommandMode = control.input.commandMode;
|
||||
|
||||
Reference in New Issue
Block a user