mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Hide toolbar in fullscreen mode
Mimics behavior of old viewer
This commit is contained in:
parent
f362901931
commit
95adbb3093
@ -205,8 +205,10 @@ class EbookViewer(MainWindow):
|
||||
def set_full_screen(self, on):
|
||||
if on:
|
||||
self.maximized_at_last_fullscreen = self.isMaximized()
|
||||
self.actions_toolbar.setVisible(False)
|
||||
self.showFullScreen()
|
||||
else:
|
||||
self.actions_toolbar.update_visibility()
|
||||
if self.maximized_at_last_fullscreen:
|
||||
self.showMaximized()
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user