Skip to content

Commit

Permalink
Make frames-per-second selector increment whole frames, instead of hu…
Browse files Browse the repository at this point in the history
…ndredths
  • Loading branch information
illegalinstruction committed Feb 2, 2020
1 parent b2120d0 commit 43a9d9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/animationwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def opacity_checkbox(attr, label, tooltip=None):
opacity_checkbox('other keys', _('Other keys'), _("Show the other keys cels."))
opacity_checkbox('other', _('Other'), _("Show the rest of the cels."))

self.framerate_adjustment = gtk.Adjustment(value=self.ani.framerate, lower=1, upper=120, step_incr=0.01)
self.framerate_adjustment = gtk.Adjustment(value=self.ani.framerate, lower=1, upper=120, step_incr=1.0)
self.framerate_adjustment.connect("value-changed", self.on_framerate_changed)
self.framerate_entry = gtk.SpinButton(adjustment=self.framerate_adjustment, digits=2, climb_rate=1.5)
framerate_lbl = gtk.Label(_('Frame rate:'))
Expand Down

0 comments on commit 43a9d9e

Please sign in to comment.