Fixed incorrect scaling with command layout
This commit is contained in:
@@ -412,7 +412,7 @@ public class PlacementFragment{
|
|||||||
|
|
||||||
//hacky, but forces command table to be same width as blocks
|
//hacky, but forces command table to be same width as blocks
|
||||||
if(control.input.commandMode){
|
if(control.input.commandMode){
|
||||||
commandTable.getCells().peek().width(blockCatTable.getWidth());
|
commandTable.getCells().peek().width(blockCatTable.getWidth() / Scl.scl(1f));
|
||||||
}
|
}
|
||||||
|
|
||||||
wasCommandMode = control.input.commandMode;
|
wasCommandMode = control.input.commandMode;
|
||||||
|
|||||||
Reference in New Issue
Block a user