Skip to content

Commit 081f82d

Browse files
committed
added options to PropDoubleSlider
1 parent 92a30bd commit 081f82d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

NodeGraphQt/custom_widgets/properties_bin/custom_widget_slider.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,12 @@ def setValue(self, value):
115115

116116

117117
class PropDoubleSlider(PropSlider):
118-
def __init__(self, parent=None, decimals=2):
118+
def __init__(self, parent=None, decimals=2, disable_scroll=True, realtime_update=False):
119119
# Do not initialize Propslider, just its parents
120120
super(PropSlider, self).__init__(parent)
121121
self._block = False
122+
self._realtime_update = realtime_update
123+
self._disable_scroll = disable_scroll
122124
self._slider = QDoubleSlider(decimals=decimals)
123125
self._spinbox = QtWidgets.QDoubleSpinBox()
124126
self._init()

0 commit comments

Comments
 (0)