X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b6b9d543acd0dfc39f69242e82c60d5a25021f79..2f9291ba5764fe104264ae7e3b6a361e11212e8b:/lib/gpx.rb diff --git a/lib/gpx.rb b/lib/gpx.rb index ee9d53afa..8510df916 100644 --- a/lib/gpx.rb +++ b/lib/gpx.rb @@ -79,7 +79,7 @@ module GPX px = proj.x(p.longitude) py = proj.y(p.latitude) - if m > 0 + if m.positive? frames.times do |n| gc = if n == mm highlightgc.dup