X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/15b104f4ff4614aa78c01180b6a9b89dd5a1400f..052fa33fb57c31d1a7a6d957128b0bf50e004dd3:/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