Skip to content
Snippets Groups Projects
Commit 705720d5 authored by s224389's avatar s224389
Browse files

Updated smoothing slider bug

parent 3a9cbb56
No related branches found
No related tags found
No related merge requests found
...@@ -40,7 +40,7 @@ class AdvancedSettingsWidget(QWidget): ...@@ -40,7 +40,7 @@ class AdvancedSettingsWidget(QWidget):
controls_layout.addWidget(self.btn_circle_editor, 0, 1) controls_layout.addWidget(self.btn_circle_editor, 0, 1)
# Line smoothing slider + label # Line smoothing slider + label
self._lab_smoothing = QLabel("Line smoothing (3)") self._lab_smoothing = QLabel("Line smoothing (22)")
controls_layout.addWidget(self._lab_smoothing, 1, 0) controls_layout.addWidget(self._lab_smoothing, 1, 0)
self.line_smoothing_slider = QSlider(Qt.Horizontal) self.line_smoothing_slider = QSlider(Qt.Horizontal)
self.line_smoothing_slider.setRange(3, 51) self.line_smoothing_slider.setRange(3, 51)
......
...@@ -54,7 +54,7 @@ class ImageGraphicsView(PanZoomGraphicsView): ...@@ -54,7 +54,7 @@ class ImageGraphicsView(PanZoomGraphicsView):
self._rainbow_enabled = False self._rainbow_enabled = False
# Smoothing parameters # Smoothing parameters
self._savgol_window_length = 7 self._savgol_window_length = 22
def set_rainbow_enabled(self, enabled: bool): def set_rainbow_enabled(self, enabled: bool):
"""Enable rainbow coloring of the path.""" """Enable rainbow coloring of the path."""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment