Opened 8 years ago

Closed 7 years ago

#4432 closed enhancement (fixed)

Allow animation when programmatically changing slider value

Reported by: yourcelf Owned by:
Priority: minor Milestone: 1.8
Component: ui.slider Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:

Description

The attached patch makes it possible to animate a slider when changing values programmatically by adding an "animate" argument to the "value" function. If the argument is not provided, current default behavior (no animation) is retained.

Change History (3)

comment:1 Changed 8 years ago by jzaefferer

  • Milestone changed from TBD to 1.8

Patch looks good, needs testing.

comment:2 Changed 8 years ago by yourcelf

I added a visual test for slider animation (there doesn't seem to be any test for animation in trunk currently). Not sure how I would do a unit test for this feature.

comment:3 Changed 7 years ago by rdworth

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r3361

Note: See TracTickets for help on using tickets.