Explorar el Código

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

This reverts commit f99d7b48ff.
tags/v0.1.0
Fen Dweller hace 5 años
padre
commit
d435591097
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      macrovision.js

+ 1
- 1
macrovision.js Ver fichero

@@ -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;


Cargando…
Cancelar
Guardar