Skip to content

Commit

Permalink
mac attempt 2
Browse files Browse the repository at this point in the history
  • Loading branch information
OmgRod committed Nov 16, 2024
1 parent 9992843 commit 3655966
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
- name: Windows
os: windows-latest

# - name: macOS
# os: macos-latest
- name: macOS
os: macos-latest

- name: Android32
os: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions src/modify/EditLevelLayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ class $modify(MyEditLevelLayer, EditLevelLayer) {

// Adjust level name background
if (auto levelNameBG = static_cast<CCScale9Sprite*>(this->getChildByID("level-name-background"))) {
levelNameBG->setColor(ccColor3B(0, 0, 0));
levelNameBG->setColor(ccColor3B{0, 0, 0});
levelNameBG->setOpacity(60);
} else {
log::debug("level-name-background not found or wrong type");
}

// Adjust description background
if (auto descriptionBG = static_cast<CCScale9Sprite*>(this->getChildByID("description-background"))) {
descriptionBG->setColor(ccColor3B(0, 0, 0));
descriptionBG->setColor(ccColor3B{0, 0, 0});
descriptionBG->setOpacity(60);
} else {
log::debug("description-background not found or wrong type");
Expand Down

0 comments on commit 3655966

Please sign in to comment.