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);
|
||||
}));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue