mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-05 15:20:42 +08: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
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user