瀏覽代碼

Revert "Make units other than meters product even grid lines (for small numbers)"

This reverts commit f99d7b48ff.
tags/v0.1.0
Fen Dweller 5 年之前
父節點
當前提交
d435591097
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      macrovision.js

+ 1
- 1
macrovision.js 查看文件

@@ -206,7 +206,7 @@ function drawScale() {

let pixelsPer = (ctx.canvas.clientHeight - 100) / config.height.value;
let heightPer = config.height.clone();
heightPer = math.divide(heightPer, heightPer.toNumber())
heightPer.value = 1;

if (pixelsPer < config.minLineSize) {
heightPer.value /= pixelsPer / config.minLineSize;


Loading…
取消
儲存