mirror of
https://github.com/danog/dart-sass.git
synced 2024-12-02 17:49:38 +01:00
Fix number multiplication.
This commit is contained in:
parent
bebe278d8e
commit
683f4afb40
@ -509,6 +509,7 @@ class SassNumber extends Value {
|
|||||||
var factor = _conversionFactor(numerator, denominator);
|
var factor = _conversionFactor(numerator, denominator);
|
||||||
if (factor == null) return false;
|
if (factor == null) return false;
|
||||||
value *= factor;
|
value *= factor;
|
||||||
|
return true;
|
||||||
}, orElse: () {
|
}, orElse: () {
|
||||||
newNumerators.add(numerator);
|
newNumerators.add(numerator);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user