NEW:disabled materials item will retain original color

jira:[STUDIO-10539]

Change-Id: Iabdbc6582dae5bcb2ec31775163949f0d451dcca
(cherry picked from commit fdb57550aa01ae88538b2de954670b84c6e72baa)
This commit is contained in:
tao wang
2025-03-05 18:26:11 +08:00
committed by Noisyfox
parent 740f7eabb1
commit 51317b4753
3 changed files with 10 additions and 5 deletions

View File

@@ -104,6 +104,7 @@ public:
bool m_selected {false};
bool m_warning{false};
bool m_match {true};
bool m_enable {true};
void msw_rescale();
void allow_paint_dropdown(bool flag);
@@ -116,7 +117,6 @@ public:
void on_selected();
void on_warning();
void on_left_down(wxMouseEvent &evt);
void paintEvent(wxPaintEvent &evt);
virtual void render(wxDC &dc);
void match(bool mat);