Skip to content

Commit 3655966

Browse files
committed
mac attempt 2
1 parent 9992843 commit 3655966

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/multi-platform.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
- name: Windows
1616
os: windows-latest
1717

18-
# - name: macOS
19-
# os: macos-latest
18+
- name: macOS
19+
os: macos-latest
2020

2121
- name: Android32
2222
os: ubuntu-latest

src/modify/EditLevelLayer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ class $modify(MyEditLevelLayer, EditLevelLayer) {
1717

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

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

0 commit comments

Comments
 (0)