@@ -120,16 +120,16 @@ def limitinfo(self, context):
120120 col .label (text = "Interval: %d ms" % interval , icon = icon )
121121 row = bcol .row (align = True )
122122 col = row .column (align = True )
123- col .label ("Slowest: %d" % mindist )
123+ col .label (text = "Slowest: %d" % mindist )
124124 col = row .column (align = True )
125- col .label ("Fastest: %d" % maxdist )
125+ col .label (text = "Fastest: %d" % maxdist )
126126 row = bcol .row (align = True )
127127 col = row .column (align = True )
128128 laststroke = fun_script .last_stroke (seq , scene .frame_current )
129129 if laststroke is not None :
130130 up = fun_script .frame_to_ms (laststroke [1 ]["frame" ])
131131 down = fun_script .frame_to_ms (laststroke [2 ]["frame" ])
132- col .label ("Last stroke: %d+%d=%d ms" % (up , down , up + down ))
132+ col .label (text = "Last stroke: %d+%d=%d ms" % (up , down , up + down ))
133133
134134 def draw (self , context ):
135135 self .limitinfo (context )
@@ -177,7 +177,7 @@ def draw(self, context):
177177 row .alignment = 'EXPAND'
178178 box = row .box ()
179179 bcol = box .column (align = True )
180- bcol .label ("Import/Export Funscript" )
180+ bcol .label (text = "Import/Export Funscript" )
181181 row = bcol .row (align = True )
182182 row .operator ("funscript.import" )
183183 row = bcol .row (align = True )
@@ -187,7 +187,7 @@ def draw(self, context):
187187 row .alignment = 'EXPAND'
188188 box = row .box ()
189189 bcol = box .column (align = True )
190- bcol .label ("Hint settings" )
190+ bcol .label (text = "Hint settings" )
191191 row = bcol .row (align = True )
192192 row .prop (context .scene .funscripting , "script_range" )
193193 row .prop (context .scene .funscripting , "script_interval" )
0 commit comments