make the download bar bigger (= better looking)

This commit is contained in:
HJfod 2024-05-04 21:33:23 +03:00
parent 7fa73b84c4
commit 52de5912e4

View file

@ -77,11 +77,11 @@ bool ModItem::init(ModSource&& source) {
m_infoContainer->addChild(m_restartRequiredLabel);
m_downloadBarContainer = CCNode::create();
m_downloadBarContainer->setContentSize({ 225, 30 });
m_downloadBarContainer->setContentSize({ 320, 30 });
m_downloadBar = Slider::create(nullptr, nullptr);
m_downloadBar->m_touchLogic->m_thumb->setVisible(false);
m_downloadBar->setLayoutOptions(AxisLayoutOptions::create()->setMaxScale(.35f));
m_downloadBar->setScale(1.5f);
m_downloadBarContainer->addChildAtPosition(m_downloadBar, Anchor::Center, ccp(0, 0), ccp(0, 0));
m_infoContainer->addChild(m_downloadBarContainer);