Move settings::darkMode definition to rack.a, fixes macOS build
This commit is contained in:
parent
12427f5ed7
commit
4979ef7b31
2 changed files with 2 additions and 6 deletions
|
|
@ -61,11 +61,6 @@ const std::string CARDINAL_VERSION = "22.07";
|
||||||
|
|
||||||
namespace rack {
|
namespace rack {
|
||||||
|
|
||||||
namespace settings {
|
|
||||||
bool darkMode = true;
|
|
||||||
int rateLimit = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool isStandalone()
|
bool isStandalone()
|
||||||
{
|
{
|
||||||
return std::strstr(getPluginFormatName(), "Standalone") != nullptr;
|
return std::strstr(getPluginFormatName(), "Standalone") != nullptr;
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,8 @@
|
||||||
|
|
||||||
namespace rack {
|
namespace rack {
|
||||||
namespace settings {
|
namespace settings {
|
||||||
extern bool darkMode;
|
bool darkMode = true;
|
||||||
|
int rateLimit = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue