diff --git a/compass/stylesheets/toolkit/_pe.scss b/compass/stylesheets/toolkit/_pe.scss index b7f0607..b0b66ea 100644 --- a/compass/stylesheets/toolkit/_pe.scss +++ b/compass/stylesheets/toolkit/_pe.scss @@ -159,9 +159,12 @@ $replace-text-inline-element: false !default; repeat: no-repeat; } @if $with-dimensions { - background-size: image-width($sprite-file) image-height($sprite-file); + background-size: image-width(sprite-path($sprite-map)) image-height(sprite-path($sprite-map)); + @include sprite($sprite-map, $sprite); + } + @else { + @include sprite($retina-map, $sprite); } - @include sprite($retina-map, $sprite); } //////////////////////////////