Skip to content

Commit

Permalink
Retextured UL badges
Browse files Browse the repository at this point in the history
  • Loading branch information
Jouca committed Nov 21, 2024
1 parent 9eaec21 commit 61322a6
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Binary file modified resources/badges/ul_dev_badge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/badges/ul_helper_badge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/badges/ul_officer_badge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions src/Styles/NewGJCommentList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ class $modify(CommentCell) {
} else if (badge == 5) {
if (!cell->getChildByIDRecursive("gdutils-ul-developer-badge")) {
auto badgeGDUtil = CCSprite::createWithSpriteFrameName("ul_dev_badge.png"_spr);
badgeGDUtil->setScale(0.525f);
badgeGDUtil->setScale(0.70f);
auto badgeGDUtilBtn = CCMenuItemSpriteExtra::create(
badgeGDUtil,
cell,
Expand All @@ -190,7 +190,7 @@ class $modify(CommentCell) {
} else if (badge == 6) {
if (!cell->getChildByIDRecursive("gdutils-ul-officer-badge")) {
auto badgeGDUtil = CCSprite::createWithSpriteFrameName("ul_officer_badge.png"_spr);
badgeGDUtil->setScale(0.525f);
badgeGDUtil->setScale(0.70f);
auto badgeGDUtilBtn = CCMenuItemSpriteExtra::create(
badgeGDUtil,
cell,
Expand All @@ -208,7 +208,7 @@ class $modify(CommentCell) {
} else if (badge == 7) {
if (!cell->getChildByIDRecursive("gdutils-ul-helper-badge")) {
auto badgeGDUtil = CCSprite::createWithSpriteFrameName("ul_helper_badge.png"_spr);
badgeGDUtil->setScale(0.525f);
badgeGDUtil->setScale(0.70f);
auto badgeGDUtilBtn = CCMenuItemSpriteExtra::create(
badgeGDUtil,
cell,
Expand Down
6 changes: 3 additions & 3 deletions src/Styles/NewProfilePage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ class $modify(ProfilePage) {
CCMenu* username_menu = typeinfo_cast<CCMenu*>(layer->getChildByIDRecursive("username-menu"));

auto badgeGDUtil = CCSprite::createWithSpriteFrameName("ul_dev_badge.png"_spr);
badgeGDUtil->setScale(.75f);
badgeGDUtil->setScale(1);
auto badgeGDUtilBtn = CCMenuItemSpriteExtra::create(
badgeGDUtil,
layer,
Expand All @@ -374,7 +374,7 @@ class $modify(ProfilePage) {
CCMenu* username_menu = typeinfo_cast<CCMenu*>(layer->getChildByIDRecursive("username-menu"));

auto badgeGDUtil = CCSprite::createWithSpriteFrameName("ul_officer_badge.png"_spr);
badgeGDUtil->setScale(.75f);
badgeGDUtil->setScale(1);
auto badgeGDUtilBtn = CCMenuItemSpriteExtra::create(
badgeGDUtil,
layer,
Expand All @@ -390,7 +390,7 @@ class $modify(ProfilePage) {
CCMenu* username_menu = typeinfo_cast<CCMenu*>(layer->getChildByIDRecursive("username-menu"));

auto badgeGDUtil = CCSprite::createWithSpriteFrameName("ul_helper_badge.png"_spr);
badgeGDUtil->setScale(.75f);
badgeGDUtil->setScale(1);
auto badgeGDUtilBtn = CCMenuItemSpriteExtra::create(
badgeGDUtil,
layer,
Expand Down

0 comments on commit 61322a6

Please sign in to comment.