Browse Source

Move settings::darkMode definition to rack.a, fixes macOS build

tags/22.09
falkTX 2 years ago
parent
commit
4979ef7b31
2 changed files with 2 additions and 6 deletions
  1. +0
    -5
      src/CardinalCommon.cpp
  2. +2
    -1
      src/custom/dep.cpp

+ 0
- 5
src/CardinalCommon.cpp View File

@@ -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;


+ 2
- 1
src/custom/dep.cpp View File

@@ -23,7 +23,8 @@

namespace rack {
namespace settings {
extern bool darkMode;
bool darkMode = true;
int rateLimit = 0;
}
}



Loading…
Cancel
Save