fix UI revalidation trigger location
This commit is contained in:
parent
62b5d574da
commit
aff2ce9eee
|
@ -146,6 +146,7 @@ public class DisplayContainer implements ErrorDumpable, KeyListener, MouseListen
|
|||
@Override
|
||||
public void onEvent(ResolutionOrSkinChangedEvent event) {
|
||||
destroyImages();
|
||||
UI.revalidate(); // TODO this shouldn't be here
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -350,7 +351,6 @@ public class DisplayContainer implements ErrorDumpable, KeyListener, MouseListen
|
|||
Fonts.init();
|
||||
|
||||
eventBus.post(new ResolutionOrSkinChangedEvent());
|
||||
UI.revalidate(); // TODO this shouldn't be here
|
||||
}
|
||||
|
||||
public void resetCursor() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user