diff --git a/.clang-format b/.clang-format index 80d5580..edd07fb 100644 --- a/.clang-format +++ b/.clang-format @@ -62,4 +62,4 @@ SpacesInContainerLiterals: false SpacesInParentheses: false SpacesInSquareBrackets: false TabWidth: 4 -UseTab: Never +UseTab: Never \ No newline at end of file diff --git a/src/main.cpp b/src/main.cpp index 468cdbe..d01eb45 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -49,7 +49,7 @@ struct MyPlayLayer : Modify { 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; diff --git a/src/settings/multi_string_setting.cpp b/src/settings/multi_string_setting.cpp index 5a2be6b..157fb10 100644 --- a/src/settings/multi_string_setting.cpp +++ b/src/settings/multi_string_setting.cpp @@ -36,7 +36,7 @@ class MultiStringSettingPopup auto id = static_cast(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); }