mirror of
https://github.com/geode-sdk/geode.git
synced 2025-02-17 00:30:26 -05:00
use correct changelog for mod info popup
This commit is contained in:
parent
b5fe4c5ff9
commit
2945422744
1 changed files with 1 additions and 1 deletions
|
@ -224,7 +224,7 @@ void ModInfoPopup::onChangelog(CCObject* sender) {
|
|||
auto winSize = CCDirector::get()->getWinSize();
|
||||
|
||||
if (!m_changelogArea) {
|
||||
m_changelogArea = MDTextArea::create(Mod::get()->getModInfo().changelog().value(), { 350.f, 137.5f });
|
||||
m_changelogArea = MDTextArea::create(this->getModInfo().changelog().value(), { 350.f, 137.5f });
|
||||
m_changelogArea->setPosition(
|
||||
-5000.f, winSize.height / 2 - m_changelogArea->getScaledContentSize().height / 2 - 20.f
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue