Skip to content

Commit

Permalink
Updated to setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Snugug committed Aug 24, 2014
1 parent 7142ecb commit 8e62126
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion stylesheets/breakpoint/_helpers.scss
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ $breakpoint-single-string-features: 'color',
@function breakpoint-is-resolution($feature) {
$resolutions: 'device-pixel-ratio', 'dpr';

@if $breakpoint-resolutions {
@if breakpoint-get('transform resolutions') {
$resolutions: append($resolutions, 'resolution');
}

Expand Down
2 changes: 1 addition & 1 deletion stylesheets/breakpoint/parsers/_resolution.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
$leader: 'and ';
}

@if $breakpoint-resolutions and $query-resolution {
@if breakpoint-get('transform resolutions') and $query-resolution {
$resolutions: breakpoint-make-resolutions($query-resolution);
$length: length($resolutions);
$query-holder: '';
Expand Down
2 changes: 1 addition & 1 deletion tests/tests/12_breakpoint_resolutions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* $device-pixel-ratio: #{$device-pixel-ratio}
* $resolution: #{$resolution}
*/
$breakpoint-resolutions: true;
@include breakpoint-set('transform resolutions', true);

.resolution {
@include breakpoint($device-pixel-ratio) {
Expand Down

0 comments on commit 8e62126

Please sign in to comment.