mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-04-13 20:51:56 -04:00
Shelf base should extend into side margin
This commit is contained in:
parent
6a792ce394
commit
8a01647dba
@ -1583,7 +1583,7 @@ class BookshelfView(MomentumScrollMixin, QAbstractScrollArea):
|
||||
QPoint(0, 0), self.case_renderer.background_as_pixmap(viewport_rect.width(), viewport_rect.height()))
|
||||
n = self.shelves_per_screen
|
||||
for base in shelf_bases:
|
||||
self.draw_shelf_base(painter, base, scroll_y, visible_rect.width(), base.idx % n)
|
||||
self.draw_shelf_base(painter, base, scroll_y, self.width(), base.idx % n)
|
||||
for shelf, has_expanded in shelves:
|
||||
# Draw books and inline dividers on it
|
||||
for item in shelf.items:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user