fix regression in the transform api
This commit is contained in:
parent
b9c68bcc8c
commit
ad7f2eb980
@ -110,7 +110,7 @@ $default-skew-y : 5deg !default;
|
|||||||
$origin-x: $default-origin-x,
|
$origin-x: $default-origin-x,
|
||||||
$origin-y: $default-origin-y,
|
$origin-y: $default-origin-y,
|
||||||
$origin-z: false,
|
$origin-z: false,
|
||||||
$only3d: false
|
$only3d: if($origin-z)
|
||||||
) {
|
) {
|
||||||
$origin: unquote('');
|
$origin: unquote('');
|
||||||
@if $origin-x or $origin-y or $origin-z {
|
@if $origin-x or $origin-y or $origin-z {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
module Compass::SassExtensions::Functions::If
|
module Compass::SassExtensions::Functions::If
|
||||||
def if(truth, if_true, if_false = nil)
|
def if(truth, if_true = nil, if_false = nil)
|
||||||
if truth.to_bool
|
if truth.to_bool
|
||||||
if_true
|
if_true || Sass::Script::Bool.new(true)
|
||||||
else
|
else
|
||||||
if_false || Sass::Script::Bool.new(false)
|
if_false || Sass::Script::Bool.new(false)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user