mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-30 14:22:07 +00:00
FIX: Support dark mode in filament picker
- Applied dark theme styling to filament picker dialog - Fixed color picker background not updating on theme switch jira: STUDIO-12935 Change-Id: I9c7dcc518e7b0bd2c330f477ee42f4c61ea9fd4b (cherry picked from commit 66ae7a02b945ff603b2dc699c93e55589481379e)
This commit is contained in:
@@ -31,6 +31,8 @@ public:
|
||||
|
||||
void SetBorderColorNormal(wxColor const &color);
|
||||
|
||||
void SetBorderStyle(wxPenStyle style);
|
||||
|
||||
void SetBackgroundColor(StateColor const &color);
|
||||
|
||||
void SetBackgroundColorNormal(wxColor const &color);
|
||||
@@ -53,6 +55,7 @@ protected:
|
||||
protected:
|
||||
double radius;
|
||||
int border_width = 1;
|
||||
wxPenStyle border_style = wxPENSTYLE_SOLID;
|
||||
StateHandler state_handler;
|
||||
StateColor border_color;
|
||||
StateColor background_color;
|
||||
|
||||
Reference in New Issue
Block a user