mirror of
https://github.com/danog/dart-sass.git
synced 2024-12-02 17:49:38 +01:00
Fix unit conversion in division.
This commit is contained in:
parent
3e2f202dee
commit
5d6ff2eadc
@ -533,7 +533,7 @@ class SassNumber extends Value {
|
||||
removeFirstWhere/*<String>*/(mutableDenominators2, (denominator) {
|
||||
var factor = _conversionFactor(numerator, denominator);
|
||||
if (factor == null) return false;
|
||||
value *= factor;
|
||||
value /= factor;
|
||||
return true;
|
||||
}, orElse: () {
|
||||
newNumerators.add(numerator);
|
||||
|
Loading…
Reference in New Issue
Block a user