implement back monkey patch to center mod icons on featured bg

This commit is contained in:
HJfod 2022-12-12 00:49:13 +02:00
parent 571d33fa9b
commit 9fe9853325

View file

@ -104,7 +104,8 @@ CCNode* geode::createIndexItemLogo(IndexItemHandle item, CCSize const& size) {
// i dont know why + 1 is needed and its too late for me to figure out why
spr->setPosition(
logoGlow->getContentSize().width / 2, logoGlow->getContentSize().height / 2
logoGlow->getContentSize().width / 2 + 1,
logoGlow->getContentSize().height / 2 - 1
);
// scary mathematics
spr->setScaleX(size.width / spr->getContentSize().width / logoGlow->getScaleX());