mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-08 23:07:33 +07:00
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