A few more light mode things
This commit is contained in:
parent
187b1c72dd
commit
8cec74e966
10 changed files with 80 additions and 15 deletions
|
@ -68,6 +68,10 @@ namespace asset {
|
|||
std::string patchesPath();
|
||||
}
|
||||
|
||||
namespace plugin {
|
||||
void updateStaticPluginsDarkMode();
|
||||
}
|
||||
|
||||
namespace app {
|
||||
namespace menuBar {
|
||||
|
||||
|
@ -522,6 +526,7 @@ 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