Minor fixes
This commit is contained in:
@@ -541,7 +541,7 @@ class PliantNavBarWidget(QtWidgets.QDockWidget):
|
||||
self.animation = QtCore.QPropertyAnimation(self, b'windowOpacity')
|
||||
self.animation.setDuration(200)
|
||||
self.animation.setStartValue(0)
|
||||
self.animation.setEndValue(.9)
|
||||
self.animation.setEndValue(.8)
|
||||
|
||||
background = self.main_window.settings['dialog_background']
|
||||
self.setStyleSheet(
|
||||
@@ -651,7 +651,6 @@ class FixedComboBox(QtWidgets.QComboBox):
|
||||
self.adjusted_size = screen_width // 6
|
||||
|
||||
def sizeHint(self):
|
||||
# This and the one below should adjust to screen size
|
||||
return self.minimumSizeHint()
|
||||
|
||||
def minimumSizeHint(self):
|
||||
|
@@ -63,7 +63,7 @@ else:
|
||||
logger.error(error_string)
|
||||
|
||||
# djvu - Optional
|
||||
djvu_check = importlib.util.find_spec('djvu.decode')
|
||||
djvu_check = importlib.util.find_spec('djvu')
|
||||
if djvu_check:
|
||||
from lector.parsers.djvu import ParseDJVU
|
||||
sorter['djvu'] = ParseDJVU
|
||||
|
@@ -217,7 +217,7 @@ class BookToolBar(QtWidgets.QToolBar):
|
||||
image_factory.get_image('page-double'),
|
||||
self._translate('BookToolBar', 'Double page mode (D)'),
|
||||
self)
|
||||
self.doublePageButton.setObjectName('doublePageButton')
|
||||
self.doublePageButton.setObjectName('doublePageButton')
|
||||
self.doublePageButton.setCheckable(True)
|
||||
|
||||
self.mangaModeButton = QtWidgets.QAction(
|
||||
|
Reference in New Issue
Block a user