Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Alphalaneous committed Dec 30, 2024
1 parent 6f82e12 commit 4050ef6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 1.8.7
- Fix a very teeny bug that may break MenuLayer changes

## 1.8.6
- Added "after-transition" object for layers in a scene, allowing for you to only make changes after the transition finishes (see wiki for more details)
- Fixed cache failing to be reset, resulting in missing textures when a pack is unapplied
Expand Down
2 changes: 1 addition & 1 deletion mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"android": "2.2074",
"mac": "2.2074"
},
"version": "v1.8.6",
"version": "v1.8.7",
"id": "alphalaneous.happy_textures",
"name": "Happy Textures :3",
"developer": "Alphalaneous",
Expand Down
5 changes: 4 additions & 1 deletion src/nodes/MenuLayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,10 @@ class $modify(MyMenuLayer, MenuLayer) {
if (Mod::get()->getSettingValue<bool>("hot-reload")) {
UIModding::get()->startFileListeners();
}
UIModding::get()->doUICheck(this, UIModding::get()->initialScene);
if (UIModding::get()->initialScene) {
UIModding::get()->doUICheck(this, true);
}
UIModding::get()->doUICheck(this);
UIModding::get()->initialScene = false;
}
return true;
Expand Down

0 comments on commit 4050ef6

Please sign in to comment.