limit geode mod list error to the frame

This commit is contained in:
Cvolton 2024-11-12 20:17:01 +01:00
parent b662aac29d
commit 2d66279243
No known key found for this signature in database

View file

@ -352,7 +352,7 @@ bool ModList::init(ModListSource* src, CCSize const& size) {
m_statusDetailsBtn->setID("status-details-button"); m_statusDetailsBtn->setID("status-details-button");
m_statusContainer->addChild(m_statusDetailsBtn); m_statusContainer->addChild(m_statusDetailsBtn);
m_statusDetails = SimpleTextArea::create("", "chatFont.fnt", .6f); m_statusDetails = SimpleTextArea::create("", "chatFont.fnt", .6f, 650.f);
m_statusDetails->setID("status-details-input"); m_statusDetails->setID("status-details-input");
m_statusDetails->setAlignment(kCCTextAlignmentCenter); m_statusDetails->setAlignment(kCCTextAlignmentCenter);
m_statusContainer->addChild(m_statusDetails); m_statusContainer->addChild(m_statusDetails);