forked from External/mage
fixing some additional singleton classes
This commit is contained in:
parent
894c575d34
commit
2b91b88551
41 changed files with 148 additions and 166 deletions
|
|
@ -134,7 +134,7 @@ public class ShowCardsDialog extends MageDialog {
|
|||
int width = ShowCardsDialog.this.getWidth();
|
||||
int height = ShowCardsDialog.this.getHeight();
|
||||
if (width > 0 && height > 0) {
|
||||
Point centered = SettingsManager.getInstance().getComponentPosition(width, height);
|
||||
Point centered = SettingsManager.instance.getComponentPosition(width, height);
|
||||
ShowCardsDialog.this.setLocation(centered.x, centered.y);
|
||||
positioned = true;
|
||||
GuiDisplayUtil.keepComponentInsideScreen(centered.x, centered.y, ShowCardsDialog.this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue