From bc70a475ebee9335f7b4d2488f4b7271952c326f Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 11 Jun 2019 20:36:53 +0100 Subject: [PATCH] Include first frame twice in trace animations --- lib/gpx.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/gpx.rb b/lib/gpx.rb index 068b84815..cfc82eedb 100644 --- a/lib/gpx.rb +++ b/lib/gpx.rb @@ -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 -- 2.43.2