Permalink
Browse files

re jigger sizes

  • Loading branch information...
Calvin Metcalf
Calvin Metcalf committed Mar 13, 2013
1 parent be07c26 commit a129ff24c0d157d610058dfdb32fde5498aa3c48
Showing with 19 additions and 15 deletions.
  1. +6 −2 dist/leaflet.sprite.js
  2. +2 −2 dist/leaflet.sprite.min.js
  3. +11 −11 src/sprite.coffee
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -24,16 +24,16 @@ cssRetina = """.leaflet-sprite{
background:url(#{sprite}) no-repeat top left;
background-size:41px, 41px
}
- .leaflet-sprite-blue{ background-position: 0 0; width: 82px; height: 82px; }
- .leaflet-sprite-green{ background-position: 0 -111px; width: 82px; height: 82px; }
- .leaflet-sprite-orange{ background-position: 0 -223px; width: 82px; height: 82px; }
- .leaflet-sprite-purple{ background-position: 0 -334px; width: 82px; height: 82px; }
- .leaflet-sprite-red{ background-position: 0 -446px; width: 82px; height: 82px; }
- .leaflet-sprite-violet{ background-position: 0 -557px; width: 82px; height: 82px; }
- .leaflet-sprite-yellow{ background-position: 0 -669px; width: 82px; height: 82px; }
+ .leaflet-sprite-blue{ background-position: 0 0; width: 41px; height: 41px; }
+ .leaflet-sprite-green{ background-position: 0 -111px; width: 41px; height: 41px; }
+ .leaflet-sprite-orange{ background-position: 0 -223px; width: 41px; height: 41px; }
+ .leaflet-sprite-purple{ background-position: 0 -334px; width: 41px; height: 41px; }
+ .leaflet-sprite-red{ background-position: 0 -446px; width: 41px; height: 41px; }
+ .leaflet-sprite-violet{ background-position: 0 -557px; width: 41px; height: 41px; }
+ .leaflet-sprite-yellow{ background-position: 0 -669px; width: 41px; height: 41px; }
"""
-#if L.Browser.retina
-# L.css([cssRetina])
-#else
-L.css([cssRegular])
+if L.Browser.retina
+ L.css([cssRetina])
+else
+ L.css([cssRegular])

0 comments on commit a129ff2

Please sign in to comment.