correct red color for bubble notifs

This commit is contained in:
yugecin 2017-01-18 21:55:06 +01:00
parent f214841359
commit 6f7e4242da
3 changed files with 3 additions and 3 deletions

View File

@ -1372,7 +1372,7 @@ public class Options {
try { try {
container.setDisplayMode(width, height, isFullscreen()); container.setDisplayMode(width, height, isFullscreen());
} catch (Exception e) { } catch (Exception e) {
container.eventBus.post(new BubbleNotificationEvent("Failed to change resolution", BubbleNotificationEvent.COLOR_RED)); container.eventBus.post(new BubbleNotificationEvent("Failed to change resolution", BubbleNotificationEvent.COMMONCOLOR_RED));
Log.error("Failed to set display mode.", e); Log.error("Failed to set display mode.", e);
} }

View File

@ -24,7 +24,7 @@ public class BubbleNotificationEvent {
public static final Color COMMONCOLOR_GREEN = new Color(98, 131, 59); public static final Color COMMONCOLOR_GREEN = new Color(98, 131, 59);
public static final Color COMMONCOLOR_WHITE = new Color(220, 220, 220); public static final Color COMMONCOLOR_WHITE = new Color(220, 220, 220);
public static final Color COMMONCOLOR_PURPLE = new Color(94, 46, 149); public static final Color COMMONCOLOR_PURPLE = new Color(94, 46, 149);
public static final Color COLOR_RED = new Color(178, 62, 41); public static final Color COMMONCOLOR_RED = new Color(141, 49, 16);
public static final Color COLOR_ORANGE = new Color(138, 72, 51); public static final Color COLOR_ORANGE = new Color(138, 72, 51);
public final String message; public final String message;

View File

@ -74,7 +74,7 @@ public class EmptyRedState implements OpsuState {
@Override @Override
public boolean keyPressed(int key, char c) { public boolean keyPressed(int key, char c) {
displayContainer.eventBus.post(new BubbleNotificationEvent("this is a bubble notification... bubbly bubbly bubbly linewraaaaaaaaaap", BubbleNotificationEvent.COLOR_RED)); displayContainer.eventBus.post(new BubbleNotificationEvent("this is a bubble notification... bubbly bubbly bubbly linewraaaaaaaaaap", BubbleNotificationEvent.COMMONCOLOR_RED));
return false; return false;
} }