aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam <54697460+Mqisty@users.noreply.github.com>2022-08-14 08:00:16 -0400
committerGitHub <noreply@github.com>2022-08-14 14:00:16 +0200
commit51a8977344343eac1899ed59f63621c7d87d7d00 (patch)
treeb524439cf7d15382070bfb8893d1f34e318b0253
parent2641d9a09af3a7c3cdb130de34c5561a9b30f7d4 (diff)
downloadNotEnoughUpdates-51a8977344343eac1899ed59f63621c7d87d7d00.tar.gz
NotEnoughUpdates-51a8977344343eac1899ed59f63621c7d87d7d00.tar.bz2
NotEnoughUpdates-51a8977344343eac1899ed59f63621c7d87d7d00.zip
added antialiasing to the warning (#227)
* awesome commit * why did i spend time on this
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscgui/StorageOverlay.java13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/StorageOverlay.java b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/StorageOverlay.java
index 98efa381..7e6b991c 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/StorageOverlay.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/StorageOverlay.java
@@ -1266,8 +1266,8 @@ public class StorageOverlay extends GuiElement {
if (fastRender) {
fontRendererObj.drawString(
- "Fast render does not work with Storage overlay.",
- sizeX / 2 - fontRendererObj.getStringWidth("Fast render does not work with Storage overlay.") / 2,
+ "Fast render and antialiasing do not work with Storage overlay.",
+ sizeX / 2 - fontRendererObj.getStringWidth("Fast render and antialiasing do not work with Storage overlay.") / 2,
-10,
0xFFFF0000
);
@@ -2308,10 +2308,11 @@ public class StorageOverlay extends GuiElement {
NotEnoughUpdates.INSTANCE.config.storageGUI.enableStorageGUI3) {
this.fastRender = true;
NotificationHandler.displayNotification(Lists.newArrayList(
- "\u00a74Fast Render Warning",
- "\u00a77Due to the way fast render works, it's not compatible with NEU.",
- "\u00a77Please disable fast render in your options under",
- "\u00a77ESC > Options > Video Settings > Performance > Fast Render",
+ "\u00a74Warning",
+ "\u00a77Due to the way fast render and antialiasing work, they're not compatible with NEU.",
+ "\u00a77Please disable fast render and antialiasing in your options under",
+ "\u00a77ESC > Options > Video Settings > Performance > \u00A7cFast Render",
+ "\u00a77ESC > Options > Video Settings > Quality > \u00A7cAntialiasing",
"\u00a77This can't be fixed.",
"\u00a77",
"\u00a77Press X on your keyboard to close this notification"