From f0883ff1afc1e4b9b97ce81614c9374a5c519f09 Mon Sep 17 00:00:00 2001 From: yugecin Date: Tue, 17 Jan 2017 17:13:25 +0100 Subject: [PATCH] draw the bar notification above the bubble notifications --- src/yugecin/opsudance/core/DisplayContainer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/yugecin/opsudance/core/DisplayContainer.java b/src/yugecin/opsudance/core/DisplayContainer.java index 01246ed5..4a91012c 100644 --- a/src/yugecin/opsudance/core/DisplayContainer.java +++ b/src/yugecin/opsudance/core/DisplayContainer.java @@ -130,8 +130,8 @@ public class DisplayContainer implements ErrorDumpable, KeyListener, MouseListen state.enter(); fpsState = instanceContainer.provide(FpsRenderState.class); - barNotifState = instanceContainer.provide(BarNotificationState.class); bubNotifState = instanceContainer.provide(BubbleNotificationState.class); + barNotifState = instanceContainer.provide(BarNotificationState.class); } @@ -166,8 +166,8 @@ public class DisplayContainer implements ErrorDumpable, KeyListener, MouseListen state.preRenderUpdate(timeSinceLastRender); state.render(graphics); fpsState.render(graphics); - barNotifState.render(graphics, timeSinceLastRender); bubNotifState.render(graphics, timeSinceLastRender); + barNotifState.render(graphics, timeSinceLastRender); realRenderInterval = timeSinceLastRender; timeSinceLastRender = 0;