Add a few more things for light/dark mode switch, WIP
This commit is contained in:
parent
463e5cb770
commit
13020e793d
2 changed files with 355 additions and 64 deletions
|
|
@ -50,9 +50,6 @@ std::string user(std::string filename) {
|
|||
|
||||
// get system resource, trimming "res/" prefix if we are loaded as a plugin bundle
|
||||
std::string system(std::string filename) {
|
||||
// Always use dark screws
|
||||
if (string::endsWith(filename, "/ScrewSilver.svg"))
|
||||
filename = filename.substr(0, filename.size()-10) + "Black.svg";
|
||||
return system::join(systemDir, bundlePath.empty() ? filename : trim(filename));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue