modularscale / modularscale-sass

Modular scale calculator built into your Sass
http://www.modularscale.com
MIT License
1.98k stars 134 forks source link

Incorrect results with some negative multiples when base is a list. #33

Closed atadams closed 10 years ago

atadams commented 11 years ago

I believe 2c23acf00768b7abd8a228f5e786c60642032394 introduced an error with certain negative multiples when the base is a list.

Example ms(-2, 16px 44px, 1.618, false); should equal 9.88875px (see ModularScale.com) but equals 6.11171px.

Actually the multiples -2, -3, and -4 with these settings all equal 6.11171px.

KiTo commented 11 years ago

Can confirm problem.

scottkellum commented 11 years ago

The issue is confirmed, just very difficult to fix.

scottkellum commented 10 years ago

Should be fixed in 2.0. Please reopen if it isn’t.