Skip to content

Commit

Permalink
v1.6.2
Browse files Browse the repository at this point in the history
Mod now changes your Globed progress indicator to match the color of the progress bar
  • Loading branch information
vani11agirl committed Jan 16, 2025
1 parent 97ca3e7 commit db25184
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/util/hooks.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ class $modify(PlayLayer) {

if (!m_level->isPlatformer() && m_progressFill && m_progressBar->isVisible()) {
m_progressFill->setColor(paint());
// beautiful. kill it with fire.
if (auto globedProgressBarWrapper = m_progressBar->getChildByID("dankmeme.globed2/progress-bar-wrapper")) { if (auto globedSelfPlayerProgress = globedProgressBarWrapper->getChildByID("dankmeme.globed2/self-player-progress")) { if (CCLayerColor* target = globedSelfPlayerProgress->getChildByType<CCLayerColor>(0)) { target->setColor(paint()); }}}
}
}

// TODO: globed compat thanks
};

0 comments on commit db25184

Please sign in to comment.