mirror of
https://github.com/aseprite/aseprite.git
synced 2024-09-02 13:09:27 +00:00
fixed time duration not including ending frame
This commit is contained in:
parent
3f101d48d4
commit
27ec013f8b
@ -4444,7 +4444,7 @@ int Timeline::tagFramesDuration(const Tag* tag) const
|
||||
|
||||
int duration = 0;
|
||||
for (frame_t f=tag->fromFrame();
|
||||
f<tag->toFrame(); ++f) {
|
||||
f<=tag->toFrame(); ++f) {
|
||||
duration += m_sprite->frameDuration(f);
|
||||
}
|
||||
return duration;
|
||||
|
Loading…
Reference in New Issue
Block a user