fix color inversion and make variable naming descriptive

This commit is contained in:
Tim Kuipers 2019-03-22 11:42:31 +01:00
parent bdf102ea64
commit 32d79451cc
3 changed files with 7 additions and 7 deletions

View file

@ -33,7 +33,7 @@ class ImageReaderUI(QObject):
self.base_height = 0.4
self.peak_height = 2.5
self.smoothing = 1
self.image_color_invert = True;
self.lighter_is_higher = False;
self._ui_lock = threading.Lock()
self._cancelled = False
@ -143,4 +143,4 @@ class ImageReaderUI(QObject):
@pyqtSlot(int)
def onImageColorInvertChanged(self, value):
self.image_color_invert = (value == 1)
self.lighter_is_higher = (value == 1)