Schematic fixes
This commit is contained in:
@@ -34,6 +34,7 @@ public class SchematicsDialog extends FloatingDialog{
|
||||
addCloseButton();
|
||||
buttons.addImageTextButton("$schematic.import", Icon.loadMapSmall, this::showImport);
|
||||
shown(this::setup);
|
||||
onResize(this::setup);
|
||||
}
|
||||
|
||||
void setup(){
|
||||
@@ -123,7 +124,7 @@ public class SchematicsDialog extends FloatingDialog{
|
||||
|
||||
sel[0].getStyle().up = Tex.pane;
|
||||
|
||||
if(++i % 4 == 0){
|
||||
if(++i % (mobile ? Core.graphics.isPortrait() ? 2 : 3 : 4) == 0){
|
||||
t.row();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user