浏览代码

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;


正在加载...
取消
保存