mirror of
https://github.com/geode-sdk/geode.git
synced 2025-04-04 09:11:31 -04:00
fix too big mod icons 🔥
This commit is contained in:
parent
71a79ab4dd
commit
26a6c7e96d
1 changed files with 3 additions and 3 deletions
|
@ -68,7 +68,7 @@ CCNode* geode::createDefaultLogo(CCSize const& size) {
|
|||
if (!spr) {
|
||||
spr = CCLabelBMFont::create("OwO", "goldFont.fnt");
|
||||
}
|
||||
limitNodeSize(spr, size, 1.f, .1f);
|
||||
limitNodeSize(spr, size, 1.f, .01f);
|
||||
return spr;
|
||||
}
|
||||
|
||||
|
@ -78,7 +78,7 @@ CCNode* geode::createModLogo(Mod* mod, CCSize const& size) {
|
|||
CCSprite::create(fmt::format("{}/logo.png", mod->getID()).c_str());
|
||||
if (!spr) spr = CCSprite::createWithSpriteFrameName("no-logo.png"_spr);
|
||||
if (!spr) spr = CCLabelBMFont::create("N/A", "goldFont.fnt");
|
||||
limitNodeSize(spr, size, 1.f, .1f);
|
||||
limitNodeSize(spr, size, 1.f, .01f);
|
||||
spr->setPosition(size/2);
|
||||
spr->setAnchorPoint({.5f, .5f});
|
||||
|
||||
|
@ -116,7 +116,7 @@ CCNode* geode::createIndexItemLogo(IndexItemHandle item, CCSize const& size) {
|
|||
spr = logoGlow;
|
||||
}
|
||||
else {
|
||||
limitNodeSize(spr, size, 1.f, .1f);
|
||||
limitNodeSize(spr, size, 1.f, .01f);
|
||||
}
|
||||
spr->setPosition(size/2);
|
||||
spr->setAnchorPoint({.5f, .5f});
|
||||
|
|
Loading…
Add table
Reference in a new issue