Skip to content

Commit

Permalink
fix button sprite
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBearodactyl committed Aug 27, 2024
1 parent 8eef57b commit 1613a92
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"android": "2.206",
"mac": "2.206"
},
"version": "v1.2.4",
"version": "v1.2.5",
"id": "the_bearodactyl.gay-wave-trail",
"name": "Gay Wave Trail",
"developer": "The Bearodactyl",
Expand Down Expand Up @@ -253,5 +253,10 @@
}
}
},
"resources": {
"sprites": [
"resources/*.png"
]
},
"repository": "https://github.com/TheBearodactyl/gay-wave-trail.git"
}
Binary file added resources/button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/ui/pause_button.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ struct GayPauseLayer : Modify<GayPauseLayer, PauseLayer> {
void customSetup() {
PauseLayer::customSetup();

auto settingsButtonSprite = CCSprite::create("logo.png"_spr);
auto settingsButtonSprite = CCSprite::create("button.png"_spr);
settingsButtonSprite->setScale(.25f);
if (auto betterPause = Loader::get()->getLoadedMod("tpdea.betterpause-Better")) {
if (betterPause->getSettingValue<int64_t>("type-pause") == 1) settingsButtonSprite->setScale(.95f);
Expand Down

0 comments on commit 1613a92

Please sign in to comment.