diff options
Diffstat (limited to 'app/slide_animation.h')
-rw-r--r-- | app/slide_animation.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/slide_animation.h b/app/slide_animation.h index edb7d57..60e0f44 100644 --- a/app/slide_animation.h +++ b/app/slide_animation.h @@ -74,7 +74,7 @@ class SlideAnimation : public Animation { double GetCurrentValue() const { return value_current_; } bool IsShowing() const { return showing_; } - bool IsClosing() const { return value_end_ < value_current_; } + bool IsClosing() const { return !showing_ && value_end_ < value_current_; } private: // Overridden from Animation. |