projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5d903c
)
Include first frame twice in trace animations
author
Tom Hughes
<tom@compton.nu>
Tue, 11 Jun 2019 19:36:53 +0000
(20:36 +0100)
committer
Tom Hughes
<tom@compton.nu>
Tue, 11 Jun 2019 19:36:53 +0000
(20:36 +0100)
lib/gpx.rb
patch
|
blob
|
history
diff --git
a/lib/gpx.rb
b/lib/gpx.rb
index 068b8481563dad0ae568a00d294eefb88cc71fda..cfc82eedb2445fd0d081872d3d89eb1b7629853a 100644
(file)
--- 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