Wireless Terminal now has terminal mode, and size is fixed.
This commit is contained in:
parent
596b3818e3
commit
da4c9bc623
3 changed files with 11 additions and 1 deletions
|
@ -220,7 +220,7 @@ public class GuiMEMonitorable extends AEBaseMEGui implements ISortSource, IConfi
|
|||
.getSetting( Settings.SEARCH_MODE ) ) );
|
||||
offset += 20;
|
||||
|
||||
if ( !(this instanceof GuiMEPortableCell) )
|
||||
if ( !(this instanceof GuiMEPortableCell) || this instanceof GuiWirelessTerm )
|
||||
{
|
||||
buttonList.add( terminalStyleBox = new GuiImgButton( this.guiLeft - 18, offset, Settings.TERMINAL_STYLE, AEConfig.instance.settings
|
||||
.getSetting( Settings.TERMINAL_STYLE ) ) );
|
||||
|
|
|
@ -11,6 +11,11 @@ public class GuiMEPortableCell extends GuiMEMonitorable
|
|||
super( inventoryPlayer, te, new ContainerMEPortableCell( inventoryPlayer, null ) );
|
||||
}
|
||||
|
||||
int defaultGetMaxRows()
|
||||
{
|
||||
return super.getMaxRows();
|
||||
}
|
||||
|
||||
@Override
|
||||
int getMaxRows()
|
||||
{
|
||||
|
|
|
@ -11,4 +11,9 @@ public class GuiWirelessTerm extends GuiMEPortableCell
|
|||
maxRows = Integer.MAX_VALUE;
|
||||
}
|
||||
|
||||
@Override
|
||||
int getMaxRows()
|
||||
{
|
||||
return defaultGetMaxRows();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue