mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	ENH::never change AMSLib disabled color
Change-Id: I54878d202a39b754f3e78a31f83f8170b2722bc9
This commit is contained in:
		
							parent
							
								
									df03edb80e
								
							
						
					
					
						commit
						cddce117c9
					
				
					 1 changed files with 6 additions and 6 deletions
				
			
		|  | @ -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) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 liz.li
						liz.li