Cleanup, fix initial light mode
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
1262f318da
commit
aa90be8d60
6 changed files with 5 additions and 15 deletions
|
|
@ -67,9 +67,6 @@ std::string patchesPath();
|
|||
namespace engine {
|
||||
void Engine_setRemoteDetails(Engine*, remoteUtils::RemoteDetails*);
|
||||
}
|
||||
namespace plugin {
|
||||
void updateStaticPluginsDarkMode();
|
||||
}
|
||||
|
||||
namespace app {
|
||||
namespace menuBar {
|
||||
|
|
@ -565,7 +562,6 @@ struct ViewButton : MenuButton {
|
|||
darkModeText = CHECKMARK_STRING;
|
||||
menu->addChild(createMenuItem("Dark Mode", darkModeText, []() {
|
||||
switchDarkMode(!settings::darkMode);
|
||||
plugin::updateStaticPluginsDarkMode();
|
||||
setAllFramebufferWidgetsDirty(APP->scene);
|
||||
}));
|
||||
|
||||
|
|
|
|||
|
|
@ -66,13 +66,10 @@ const std::string APP_VERSION_MAJOR = "2";
|
|||
const std::string APP_VERSION = "2.3.0";
|
||||
#if defined ARCH_WIN
|
||||
const std::string APP_OS = "win";
|
||||
const std::string APP_OS_NAME = "Windows";
|
||||
#elif defined ARCH_MAC
|
||||
const std::string APP_OS = "mac";
|
||||
const std::string APP_OS_NAME = "macOS";
|
||||
#elif defined ARCH_LIN
|
||||
const std::string APP_OS = "lin";
|
||||
const std::string APP_OS_NAME = "Linux";
|
||||
#else
|
||||
#error ARCH_LIN undefined
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue