Skip to content

Commit

Permalink
default string for new entries in the color list
Browse files Browse the repository at this point in the history
what
  • Loading branch information
TheBearodactyl committed Nov 3, 2024
1 parent 51a36e9 commit 3c18bce
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ SpacesInContainerLiterals: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
TabWidth: 4
UseTab: Never
UseTab: Never
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ struct MyPlayLayer : Modify<MyPlayLayer, PlayLayer> {
ColorUtils::owo += speed / 10;
}

phase = fmod(phase + speed, 360.f);
phase = fmod(phase + (speed / 10), 360.f); // Divided speed by 10 to slow down gradient cycling
bool p2 = true;

RainbowTrail traill;
Expand Down
2 changes: 1 addition & 1 deletion src/settings/multi_string_setting.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class MultiStringSettingPopup
auto id = static_cast<CCNode *>(target)->getID();
auto index = std::stoi(id.substr(4));
if (index == m_localValue.size() - 1) {
m_localValue.push_back("");
m_localValue.push_back("#");// Changed from empty string to "#"
} else {
m_localValue.erase(m_localValue.begin() + index);
}
Expand Down

0 comments on commit 3c18bce

Please sign in to comment.