Viewer: Fix scrolling of panels in preferences causing artifacts. Fixes #1851933 [Buttom on the page is sometimes shown in the middle of the preferences](https://bugs.launchpad.net/calibre/+bug/1851933)

This commit is contained in:
Kovid Goyal 2019-11-10 17:13:38 +05:30
parent c39f96fbed
commit a1cc1d8a9d
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -187,7 +187,7 @@ class View:
self.book_scrollbar.create(),
E.div(style='position: absolute; top:0; left:0; width: 100%; pointer-events:none; display:none', id='book-search-overlay'), # search overlay
E.div(style='position: absolute; top:0; left:0; width: 100%; height: 100%; display:none', id='book-content-popup-overlay'), # content popup overlay
E.div(style='position: absolute; top:0; left:0; width: 100%; height: 100%; display:none', id='book-overlay'), # main overlay
E.div(style='position: absolute; top:0; left:0; width: 100%; height: 100%; overflow: auto; display:none', id='book-overlay'), # main overlay
E.div(style='position: absolute; top:0; left:0; width: 100%; height: 100%; display:none', id='controls-help-overlay'), # controls help overlay
)
)