From daccfa1f725da8dc8f6ed0e2b4582f0b70acb960 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 25 Dec 2025 19:56:59 +0530 Subject: [PATCH] ... --- src/calibre/gui2/library/bookshelf_view.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/calibre/gui2/library/bookshelf_view.py b/src/calibre/gui2/library/bookshelf_view.py index ddc52b9573..0f4b97a177 100644 --- a/src/calibre/gui2/library/bookshelf_view.py +++ b/src/calibre/gui2/library/bookshelf_view.py @@ -2055,9 +2055,7 @@ class BookshelfView(MomentumScrollMixin, QAbstractScrollArea): return -1 def book_row_at_position(self, x: int, y: int) -> int: - ''' - Find which book is at the given position. x, y are in viewport coordinates. - ''' + ' Find which book is at the given position. x, y are in viewport coordinates ' book_id = self.book_id_at_position(x, y) if book_id > 0: if (row := self.row_from_book_id(book_id)) is not None: