Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeevdv committed Aug 17, 2017
1 parent e3f9882 commit b57b611
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/UI/Animation.cpp
Expand Up @@ -263,6 +263,9 @@ Event::Handler& Animation::animationEndedHandler()
}

bool Animation::opaque(const Point &pos) {
if (!_animation) {
return true;
}
const auto& frame = _animationFrames.at(_currentFrame);

Point offsetPos = pos - offset();
Expand Down

0 comments on commit b57b611

Please sign in to comment.