summaryrefslogtreecommitdiffstats
path: root/app/slide_animation.h
diff options
context:
space:
mode:
Diffstat (limited to 'app/slide_animation.h')
-rw-r--r--app/slide_animation.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/slide_animation.h b/app/slide_animation.h
index 91e64bc..d073db1 100644
--- a/app/slide_animation.h
+++ b/app/slide_animation.h
@@ -65,13 +65,13 @@ class SlideAnimation : public LinearAnimation {
int GetSlideDuration() const { return slide_duration_; }
void SetTweenType(Tween::Type tween_type) { tween_type_ = tween_type; }
- double GetCurrentValue() const { return value_current_; }
+ virtual double GetCurrentValue() const { return value_current_; }
bool IsShowing() const { return showing_; }
bool IsClosing() const { return !showing_ && value_end_ < value_current_; }
private:
// Overridden from Animation.
- void AnimateToState(double state);
+ virtual void AnimateToState(double state);
AnimationDelegate* target_;