]> git.openstreetmap.org Git - rails.git/blobdiff - lib/gpx.rb
Refactor to show the Issues link based on the calculated permissions
[rails.git] / lib / gpx.rb
index ee9d53afaa0fea65cfe403f5ae9cb26fb71c3167..8510df916821b7fc3aa615f54a880e81bd6bce3d 100644 (file)
@@ -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