Default covers + optimisations
This commit is contained in:
@@ -516,7 +516,7 @@ void BaseTheme::drawRecentBookCover(GfxRenderer& renderer, Rect rect, const std:
|
||||
if (bitmap.parseHeaders() == BmpReaderError::Ok) {
|
||||
LOG_DBG("THEME", "Rendering bmp");
|
||||
|
||||
// Draw the cover image (bookWidth and bookHeight already match image aspect ratio)
|
||||
renderer.fillRect(bookX, bookY, bookWidth, bookHeight, false);
|
||||
renderer.drawBitmap(bitmap, bookX, bookY, bookWidth, bookHeight);
|
||||
|
||||
// Draw border around the card
|
||||
|
||||
Reference in New Issue
Block a user