Include first frame twice in trace animations

This commit is contained in:
Tom Hughes 2019-06-11 20:36:53 +01:00
parent b5d903c603
commit bc70a475eb

View file

@ -114,6 +114,7 @@ module GPX
end
image = GD2::AnimatedGif.new
image.add(frames.first)
frames.each do |frame|
image.add(frame, :delay => delay)
end