Commit 4ff36332 authored by David Schnur's avatar David Schnur

Fix failures introduced by the merge from master.

parent 7043573a
...@@ -2570,7 +2570,7 @@ Licensed under the MIT license. ...@@ -2570,7 +2570,7 @@ Licensed under the MIT license.
yequal = yrange.from === yrange.to; yequal = yrange.from === yrange.to;
if (xequal && yequal) { if (xequal && yequal) {
continue; return;
} }
// then draw // then draw
...@@ -2590,7 +2590,7 @@ Licensed under the MIT license. ...@@ -2590,7 +2590,7 @@ Licensed under the MIT license.
ctx.lineTo(xrange.to + subPixel, yrange.to); ctx.lineTo(xrange.to + subPixel, yrange.to);
} else { } else {
ctx.moveTo(xrange.from, yrange.to + subPixel); ctx.moveTo(xrange.from, yrange.to + subPixel);
ctx.lineTo(xrange.to, yrange.to + subPixel); ctx.lineTo(xrange.to, yrange.to + subPixel);
} }
ctx.stroke(); ctx.stroke();
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment