Improvements for Default color button in filament settings (#9581)
Some checks are pending
Build all / Build All (push) Waiting to run
Build all / Flatpak (push) Waiting to run

* init

* fix colors on theme switch

* update

---------

Co-authored-by: Noisyfox <timemanager.rick@gmail.com>
This commit is contained in:
yw4z 2025-05-11 15:11:09 +03:00 committed by GitHub
parent 43b2acba36
commit a008014ab0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 91 additions and 13 deletions

View file

@ -1948,7 +1948,8 @@ void PrintConfigDef::init_fff_params()
def = this->add("default_filament_colour", coStrings);
def->label = L("Default color");
def->tooltip = L("Default filament color");
def->tooltip = L("Default filament color"
"\nRight click to reset value to system default.");
def->gui_type = ConfigOptionDef::GUIType::color;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionStrings{""});