mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-22 04:28:27 +07:00
Fixed incorrect scaling with command layout
This commit is contained in:
parent
d301f6ebe3
commit
9a95754007
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user