Skip to content

Commit

Permalink
Undoing latest commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
justrhysism committed Mar 13, 2013
1 parent 1a1d6a2 commit 8a4f98d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gauge.js
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ var Gauge = function( config) {
} else if (config.minValue > 0) {
fromValue -= config.minValue
} else {
fromValue = Math.abs(config.minValue) + parseFloat(fromValue);
fromValue = Math.abs(config.minValue) + fromValue;
}

ctx.rotate( radians( 45 + fromValue / ((config.maxValue - config.minValue) / 270)));
Expand Down

0 comments on commit 8a4f98d

Please sign in to comment.