Improve comic view

This commit is contained in:
BasioMeusPuga
2019-01-17 23:03:28 +05:30
parent 5b8bc1d707
commit 5e3987dc04
3 changed files with 22 additions and 16 deletions

View File

@@ -779,6 +779,10 @@ class MainUI(QtWidgets.QMainWindow, mainwindow.Ui_MainWindow):
#____________________________________________
def change_page_view(self, key_pressed=False):
# Set zoom mode to best fit to
# make the transition less jarring
self.comic_profile['zoom_mode'] = 'bestFit'
# Toggle Double page mode / manga mode on keypress
if key_pressed == QtCore.Qt.Key_D:
self.bookToolBar.doublePageButton.setChecked(