draw the bar notification above the bubble notifications

This commit is contained in:
yugecin 2017-01-17 17:13:25 +01:00
parent 97e71e158d
commit f0883ff1af

View File

@ -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;