Skip to content

Commit c5e9b80

Browse files
committed
fix conflicts
2 parents 460e0ef + ff1aa6d commit c5e9b80

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

changelog.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1+
# 1.1.1
2+
- Fixed a potential crash when using the song browser (thank you [hiimjustin000](user:7466002))
3+
14
# 1.1.0
2-
- New logo (thank you [Alphalaneous](user:7834088))
3-
- Cleaned up design (thank you [Alphalaneous](user:7834088))
5+
- New logo (thank you [Alphalaneous](user:1139015))
6+
- Cleaned up design (thank you [Alphalaneous](user:1139015))
47

58
# 1.0.1
69
- Quick bugfix update, fixes the info label issues

src/SettingsLayer.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,9 @@ void SettingCell::onFMODDebug(CCObject* sender) {
158158
void SettingCell::onSongSelect(CCObject* sender) {
159159
auto mol = MoreOptionsLayer::create();
160160
mol->onSongBrowser(sender);
161-
// auto browser = GJSongBrowser::create();
162-
// browser->showLayer(true);
161+
if (auto songBrowser = CCScene::get()->getChildByType<GJSongBrowser>(0)) {
162+
if (songBrowser->m_delegate == mol) songBrowser->m_delegate = nullptr;
163+
}
163164
}
164165

165166
void SettingCell::onCheckboxToggled(CCObject* sender) {

0 commit comments

Comments
 (0)