Skip to content

Commit

Permalink
Actual fix for The Black Cauldron ordering issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
lanceewing committed Mar 23, 2024
1 parent 5c8a945 commit d0fb9da
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/src/main/java/com/agifans/agile/HomeScreen.java
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ public HomeScreen(Agile agile, DialogHandler dialogHandler) {
for (AppConfigItem appConfigItem : appConfig.getApps()) {
appConfigMap.put(appConfigItem.getName(), appConfigItem);
}

// Convert back from TreeMap, to guarantee ordering on first render.
appConfig = convertAppConfigItemMapToAppConfig(appConfigMap);

buttonTextureMap = new HashMap<String, Texture>();
skin = new Skin(Gdx.files.internal("data/uiskin.json"));
Expand Down

0 comments on commit d0fb9da

Please sign in to comment.