mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-27 00:24:00 -06:00
NEW:disable ams mapping when sending printing
Change-Id: Icf2c859151c8c5605e651426154ce6fa84269b87
This commit is contained in:
parent
7d17cb20c8
commit
2d43ce4702
4 changed files with 66 additions and 22 deletions
|
@ -719,7 +719,7 @@ void AMSLib::render(wxDC &dc)
|
|||
auto tmp_lib_colour = m_info.material_colour;
|
||||
auto temp_text_colour = AMS_CONTROL_GRAY800;
|
||||
|
||||
if (tmp_lib_colour.GetLuminance() < 0.5) {
|
||||
if (tmp_lib_colour.GetLuminance() < 0.6) {
|
||||
temp_text_colour = AMS_CONTROL_WHITE_COLOUR;
|
||||
} else {
|
||||
temp_text_colour = AMS_CONTROL_GRAY800;
|
||||
|
@ -822,7 +822,7 @@ void AMSLib::doRender(wxDC &dc)
|
|||
dc.SetBrush(wxBrush(AMS_CONTROL_DEF_LIB_BK_COLOUR));
|
||||
dc.DrawRoundedRectangle(FromDIP(4), FromDIP(4), size.x - FromDIP(8), size.y - FromDIP(8), m_radius);
|
||||
|
||||
if (tmp_lib_colour.GetLuminance() < 0.5) {
|
||||
if (tmp_lib_colour.GetLuminance() < 0.6) {
|
||||
temp_bitmap_third = m_bitmap_editable_light;
|
||||
temp_bitmap_brand = m_bitmap_readonly_light;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue