diff --git a/src/CardinalCommon.cpp b/src/CardinalCommon.cpp index 827cd2d..558b628 100644 --- a/src/CardinalCommon.cpp +++ b/src/CardinalCommon.cpp @@ -61,11 +61,6 @@ const std::string CARDINAL_VERSION = "22.07"; namespace rack { -namespace settings { -bool darkMode = true; -int rateLimit = 0; -} - bool isStandalone() { return std::strstr(getPluginFormatName(), "Standalone") != nullptr; diff --git a/src/custom/dep.cpp b/src/custom/dep.cpp index 292a5bb..6934dd6 100644 --- a/src/custom/dep.cpp +++ b/src/custom/dep.cpp @@ -23,7 +23,8 @@ namespace rack { namespace settings { -extern bool darkMode; +bool darkMode = true; +int rateLimit = 0; } }