mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-24 22:14:44 +00:00
Clean Up and move guis
This commit is contained in:
1 parent
490feb915f
commit
c93a79887f
76 files changed
+361
-360
No files matched your search
@@ -14,7 +14,7 @@ import net.minecraftforge.fml.relauncher.SideOnly;
|
||||
|
||||
public abstract class Dialog extends Control {
|
||||
public Dialog(final IWidget parent, final int w, final int h) {
|
||||
super(parent, (parent.w() - w) / 2, (parent.h() - h) / 2, w, h);
|
||||
super(parent, (parent.width() - w) / 2, (parent.height() - h) / 2, w, h);
|
||||
this.addAttribute(Attribute.MouseOver);
|
||||
this.addAttribute(Attribute.AlwaysOnTop);
|
||||
this.addAttribute(Attribute.BlockTooltip);
|
||||
|
||||
Reference in new issue
Block a user