diff options
Diffstat (limited to 'js/ui')
| -rw-r--r-- | js/ui/evolver.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/ui/evolver.js b/js/ui/evolver.js index 478ccc1..88a2c34 100644 --- a/js/ui/evolver.js +++ b/js/ui/evolver.js @@ -89,7 +89,7 @@ var evolver = (function(){ img.onload = function(){ target = drawImage(t_ctx, img) if (opt.h == 0) { - opt.h = Math.round(opt.w * 8/15) + opt.h = Math.round(opt.w * 8/15 * img.naturalHeight/img.naturalWidth) } last_score = 0 ready() |
