Skip to content

Commit

Permalink
Issue #73: Delta [Panel] Redesign:
Browse files Browse the repository at this point in the history
- fixed maximum setting for stem values in UI;
  • Loading branch information
kateliev committed Jul 10, 2024
1 parent f997095 commit 10eaea4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Scripts/TypeRig GUI/Panel/Delta.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
global pMode
pLayers = None
pMode = 0
app_name, app_version = 'TypeRig | Delta', '5.5'
app_name, app_version = 'TypeRig | Delta', '5.6'

TRToolFont = getTRIconFontPath()
font_loaded = QtGui.QFontDatabase.addApplicationFont(TRToolFont)
Expand Down Expand Up @@ -206,15 +206,15 @@ def __init__(self):
lay_controls.addWidget(self.cpn_value_height)
self.cpn_value_height.spin_box.valueChanged.connect(lambda: self.execute_scale())

self.cpn_value_stem_x = TRCustomSpinController('stem_vertical_alt', (-300, 300, 1, 1), ' u', 'Vertical stem width')
self.cpn_value_stem_x = TRCustomSpinController('stem_vertical_alt', (-999, 999, 1, 1), ' u', 'Vertical stem width')
lay_controls.addWidget(self.cpn_value_stem_x)
self.cpn_value_stem_x.spin_box.valueChanged.connect(lambda: self.execute_scale())

self.cpn_value_stem_y = TRCustomSpinController('stem_horizontal_alt', (-300, 300, 1, 1), ' u', 'Horizontal stem width')
self.cpn_value_stem_y = TRCustomSpinController('stem_horizontal_alt', (-999, 999, 1, 1), ' u', 'Horizontal stem width')
lay_controls.addWidget(self.cpn_value_stem_y)
self.cpn_value_stem_y.spin_box.valueChanged.connect(lambda: self.execute_scale())

self.cpn_value_lerp_t = TRCustomSpinController('interpolate', (-300, 300, 0, 1), ' %', 'Time along axis')
self.cpn_value_lerp_t = TRCustomSpinController('interpolate', (-999, 999, 0, 1), ' %', 'Time along axis')
lay_controls.addWidget(self.cpn_value_lerp_t)
self.cpn_value_lerp_t.spin_box.valueChanged.connect(lambda: self.execute_scale(True))

Expand Down

0 comments on commit 10eaea4

Please sign in to comment.