mirror of
https://github.com/refactorinqq/SLC-1.8.9.git
synced 2024-11-10 08:21:32 +01:00
commit
f306a92f7b
@ -47,23 +47,23 @@ public class Watermark {
|
||||
switch (Client.getInstance().getSettingsManager().getSettingByClass(GeneralMod.class, "Silent Logo Location").getValString()) {
|
||||
case "Bottom Right Corner":
|
||||
x = 5;
|
||||
y = scaledResolution.getScaledHeight() - 23;
|
||||
y = scaledResolution.getScaledHeight() - 23 + (21 / 2) - 5 + 3;
|
||||
break;
|
||||
case "Bottom Left Corner":
|
||||
x = scaledResolution.getScaledWidth() - width;
|
||||
y = scaledResolution.getScaledHeight() - 23;
|
||||
y = scaledResolution.getScaledHeight() - 23 + (21 / 2) - 5 + 3;
|
||||
break;
|
||||
case "Top Right Corner":
|
||||
x = 5;
|
||||
y = 3;
|
||||
y = 3 + (21 / 2) - 5 - 3;
|
||||
break;
|
||||
case "Top Left Corner":
|
||||
x = scaledResolution.getScaledWidth() - width;
|
||||
y = 3;
|
||||
y = 3 + (21 / 2) - 5 - 3;
|
||||
break;
|
||||
}
|
||||
|
||||
Client.getInstance().getSilentFontRenderer().drawString(Client.getInstance().getFullVersion(), x, y + (21 / 2) - 5 + 3, 10, SilentFontRenderer.FontType.TITLE);
|
||||
Client.getInstance().getSilentFontRenderer().drawString(Client.getInstance().getFullVersion(), x, y, 10, SilentFontRenderer.FontType.TITLE);
|
||||
}
|
||||
|
||||
public void render(int x, int y) {
|
||||
|
Loading…
Reference in New Issue
Block a user