Skip to content

Commit 817c3aa

Browse files
committed
Fix
1 parent 76ac2dd commit 817c3aa

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# 1.1.8
2+
- One more fix
3+
14
# 1.1.7
25
- Fix typo
36

mod.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"id": "alphalaneous.fine_outline",
1010
"name": "Fine Outline",
11-
"version": "v1.1.7",
11+
"version": "v1.1.8",
1212
"developer": "Alphalaneous",
1313
"description": "Change the black outline color of icons!",
1414
"dependencies": {

src/main.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,6 +557,8 @@ class OutlineColorPickPopupDelegate : public ColorPickPopupDelegate {
557557
}
558558
};
559559

560+
class CustomCharacterColorPage : public CharacterColorPage {};
561+
560562
class $modify(MyCharacterColorPage, CharacterColorPage) {
561563

562564
static void onModify(auto& self) {
@@ -610,7 +612,7 @@ class $modify(MyCharacterColorPage, CharacterColorPage) {
610612

611613
auto fields = m_fields.self();
612614

613-
if (getID() == "rooot.custom-gamemode-colors/gamemode-colors-page") {
615+
if (typeinfo_cast<CustomCharacterColorPage*>(this)) {
614616
fields->m_disable = true;
615617
return true;
616618
}

0 commit comments

Comments
 (0)