mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	Update for colpic thumbnails background color to match Elegoo theme (#3647)
Update Thumbnails.cpp Changed background color from white to a dark gray to match the rest of the Elegoo touch screen theme
This commit is contained in:
		
							parent
							
								
									2e4e1a2e0f
								
							
						
					
					
						commit
						b25617892e
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		|  | @ -160,9 +160,9 @@ std::unique_ptr<CompressedImageBuffer> compress_thumbnail_colpic(const Thumbnail | |||
|             b                 = int(pixels[pix_idx + 2]) >> 3; | ||||
|             a                 = int(pixels[pix_idx + 3]); | ||||
|             if (a == 0) { | ||||
|                 r = 239 >> 3; | ||||
|                 g = 243 >> 2; | ||||
|                 b = 247 >> 3; | ||||
|                 r = 46 >> 3; | ||||
|                 g = 51 >> 2; | ||||
|                 b = 72 >> 3; | ||||
|             } | ||||
|             rgb             = (r << 11) | (g << 5) | b; | ||||
|             color16_buf[time--] = rgb; | ||||
|  | @ -529,4 +529,4 @@ int ColPic_EncodeStr(unsigned short* fromcolor16, int picw, int pich, unsigned c | |||
|     return qty; | ||||
| } | ||||
| 
 | ||||
| } // namespace Slic3r::GCodeThumbnails
 | ||||
| } // namespace Slic3r::GCodeThumbnails
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 VBits
						VBits