Skip to content

Commit

Permalink
fix tab opacity when not selected
Browse files Browse the repository at this point in the history
  • Loading branch information
altalk23 committed Jul 19, 2024
1 parent 2ddc5bf commit e0badf8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## v0.3.4-alpha
* MacOS support! (thank SpaghettDev on Github)
* Fix tab opacity on the icon when not selected

## v0.3.3-alpha
* Properly fix lines to origin in curve drawing for Android
Expand Down
1 change: 1 addition & 0 deletions src/hooks/EditorUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ struct EditorUIHook : Modify<EditorUIHook, EditorUI> {

auto spriteOff = CCSprite::createWithSpriteFrameName("EditorIcon.png"_spr);
spriteOff->setScale(0.2f);
spriteOff->setOpacity(150);
auto offBg = CCSprite::createWithSpriteFrameName("GJ_tabOff_001.png");
offBg->addChildAtPosition(spriteOff, Anchor::Center, ccp(0, 0));
offBg->setOpacity(150);
Expand Down

0 comments on commit e0badf8

Please sign in to comment.