mirror of
https://github.com/refactorinqq/SLC-1.8.9.git
synced 2024-11-10 08:41:31 +01:00
Update Watermark.java
This commit is contained in:
parent
33d00ed6cc
commit
328c9b7b25
@ -47,23 +47,23 @@ public class Watermark {
|
|||||||
switch (Client.getInstance().getSettingsManager().getSettingByClass(GeneralMod.class, "Silent Logo Location").getValString()) {
|
switch (Client.getInstance().getSettingsManager().getSettingByClass(GeneralMod.class, "Silent Logo Location").getValString()) {
|
||||||
case "Bottom Right Corner":
|
case "Bottom Right Corner":
|
||||||
x = 5;
|
x = 5;
|
||||||
y = scaledResolution.getScaledHeight() - 23;
|
y = scaledResolution.getScaledHeight() - 23 + (21 / 2) - 5 + 3;
|
||||||
break;
|
break;
|
||||||
case "Bottom Left Corner":
|
case "Bottom Left Corner":
|
||||||
x = scaledResolution.getScaledWidth() - width;
|
x = scaledResolution.getScaledWidth() - width;
|
||||||
y = scaledResolution.getScaledHeight() - 23;
|
y = scaledResolution.getScaledHeight() - 23 + (21 / 2) - 5 + 3;
|
||||||
break;
|
break;
|
||||||
case "Top Right Corner":
|
case "Top Right Corner":
|
||||||
x = 5;
|
x = 5;
|
||||||
y = 3;
|
y = 3 + (21 / 2) - 5 - 3;
|
||||||
break;
|
break;
|
||||||
case "Top Left Corner":
|
case "Top Left Corner":
|
||||||
x = scaledResolution.getScaledWidth() - width;
|
x = scaledResolution.getScaledWidth() - width;
|
||||||
y = 3;
|
y = 3 + (21 / 2) - 5 - 3;
|
||||||
break;
|
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) {
|
public void render(int x, int y) {
|
||||||
|
Loading…
Reference in New Issue
Block a user