Skip to content

Commit bdde74b

Browse files
committed
Improve readability of virtual base class in diagrams in dark mode
1 parent 348eb12 commit bdde74b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/image.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ struct Image::Private
166166
{ 0xa7, 0x38, 0x30, 0xff },
167167
{ 0x29, 0x70, 0x18, 0xff },
168168
{ 0x97, 0xCC, 0xE8, 0xff },
169-
{ 0xc0, 0xc0, 0xc0, 0xff },
169+
{ 0xe0, 0xe0, 0xe0, 0xff },
170170
{ 0xff, 0xff, 0xff, 0xff }
171171
};
172172
};
@@ -342,6 +342,8 @@ void Image::fillRect(uint32_t x,uint32_t y,uint32_t width,uint32_t height,uint8_
342342
for (xp=x,xi=0;xp<x+width;xp++,xi++)
343343
if (mask&(1<<((xi+yi)&0x1f)))
344344
setPixel(xp,yp,colIndex);
345+
else
346+
setPixel(xp,yp,8);
345347
}
346348

347349
bool Image::save(const QCString &fileName)

0 commit comments

Comments
 (0)