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(); state.enter();
fpsState = instanceContainer.provide(FpsRenderState.class); fpsState = instanceContainer.provide(FpsRenderState.class);
barNotifState = instanceContainer.provide(BarNotificationState.class);
bubNotifState = instanceContainer.provide(BubbleNotificationState.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.preRenderUpdate(timeSinceLastRender);
state.render(graphics); state.render(graphics);
fpsState.render(graphics); fpsState.render(graphics);
barNotifState.render(graphics, timeSinceLastRender);
bubNotifState.render(graphics, timeSinceLastRender); bubNotifState.render(graphics, timeSinceLastRender);
barNotifState.render(graphics, timeSinceLastRender);
realRenderInterval = timeSinceLastRender; realRenderInterval = timeSinceLastRender;
timeSinceLastRender = 0; timeSinceLastRender = 0;