Used wrong formula in previous commit

This commit is contained in:
Atlante45 2014-05-05 11:43:58 -07:00
parent 7855bf8e24
commit 1ecf0e3b9d

View file

@ -331,7 +331,7 @@ function ScaleSelector() {
});
this.setScale = function(scale) {
this.scale = scale;
this.power = Math.ceil(Math.log(scale) * Math.LOG2E);
this.power = Math.floor(Math.log(scale) / Math.log(2));
rescaleImport();
this.update();
}