Skip to content

Commit

Permalink
improve hide button visuals
Browse files Browse the repository at this point in the history
  • Loading branch information
HJfod committed May 22, 2024
1 parent f479121 commit b63691f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/features/HideUIButton.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ class $modify(HideButtonUI, EditorUI) {
"eye-off.png"_spr, 1.f, CircleBaseColor::Gray, CircleBaseSize::Small
);
unhideSpr->setOpacity(105);
static_cast<CCSprite*>(unhideSpr->getTopNode())->setOpacity(105);
auto hideSpr = CircleButtonSprite::createWithSpriteFrameName(
"eye-on.png"_spr, 1.f, CircleBaseColor::Green, CircleBaseSize::Small
);
Expand Down

0 comments on commit b63691f

Please sign in to comment.