Improvements for Default color button in filament settings (#9581)

* 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
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{""});