ENH::never change AMSLib disabled color

Change-Id: I54878d202a39b754f3e78a31f83f8170b2722bc9
This commit is contained in:
liz.li 2022-08-05 14:57:46 +08:00 committed by Lane.Wei
parent df03edb80e
commit cddce117c9
1 changed files with 6 additions and 6 deletions

View File

@ -519,9 +519,9 @@ void AMSLib::render(wxDC &dc)
temp_text_colour = AMS_CONTROL_GRAY800;
}
if (!wxWindow::IsEnabled()) {
temp_text_colour = AMS_CONTROL_DISABLE_TEXT_COLOUR;
}
//if (!wxWindow::IsEnabled()) {
//temp_text_colour = AMS_CONTROL_DISABLE_TEXT_COLOUR;
//}
dc.SetFont(::Label::Body_13);
dc.SetTextForeground(temp_text_colour);
@ -579,9 +579,9 @@ void AMSLib::doRender(wxDC &dc)
temp_bitmap_brand = m_bitmap_readonly;
}
if (!wxWindow::IsEnabled()) {
tmp_lib_colour = AMS_CONTROL_DISABLE_COLOUR;
}
//if (!wxWindow::IsEnabled()) {
//tmp_lib_colour = AMS_CONTROL_DISABLE_COLOUR;
//}
// selected
if (m_selected) {