Skip to content

Commit

Permalink
Fixed|libdeng2|ScalarRule: Shifting a scalar animation
Browse files Browse the repository at this point in the history
The rule must be invalidated if it is shifted so that the new value
becomes effective.
  • Loading branch information
skyjake committed Jun 12, 2013
1 parent 10295e1 commit a79a605
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doomsday/libdeng2/src/widgets/scalarrule.cpp
Expand Up @@ -55,6 +55,7 @@ void ScalarRule::set(Rule const &target, TimeDelta transition)
void ScalarRule::shift(float delta)
{
_animation.shift(delta);
invalidate();
}

void ScalarRule::update()
Expand Down

0 comments on commit a79a605

Please sign in to comment.