Fixed #8710
This commit is contained in:
@@ -790,7 +790,7 @@ public class SchematicsDialog extends BaseDialog{
|
||||
}
|
||||
|
||||
buttons.clearChildren();
|
||||
buttons.defaults().size(210f, 64f);
|
||||
buttons.defaults().size(Core.graphics.isPortrait() ? 150f : 210f, 64f);
|
||||
buttons.button("@back", Icon.left, this::hide);
|
||||
buttons.button("@editor.export", Icon.upload, () -> showExport(schem));
|
||||
buttons.button("@schematic.edit", Icon.edit, () -> showEdit(schem));
|
||||
|
||||
@@ -328,7 +328,6 @@ public class CanvasBlock extends Block{
|
||||
dialog.buttons.button("@ok", Icon.ok, () -> {
|
||||
if(modified[0]){
|
||||
configure(packPixmap(pix));
|
||||
pix.dispose();
|
||||
texture.dispose();
|
||||
}
|
||||
dialog.hide();
|
||||
|
||||
Reference in New Issue
Block a user