mirror of
https://github.com/samsonjs/spirit-tracker.git
synced 2026-04-27 15:07:43 +00:00
UX Improvements
This commit is contained in:
parent
2cb9a075a7
commit
7bcd95068c
1 changed files with 5 additions and 5 deletions
|
|
@ -189,11 +189,11 @@ if (text) {
|
||||||
ctx.fillText(text, Math.max(0, axisX - axisInset), py);
|
ctx.fillText(text, Math.max(0, axisX - axisInset), py);
|
||||||
|
|
||||||
// DEBUG: show axis anchor point (remove later)
|
// DEBUG: show axis anchor point (remove later)
|
||||||
// ctx.save();
|
ctx.save();
|
||||||
// ctx.globalAlpha = 0.9;
|
ctx.globalAlpha = 0.9;
|
||||||
// ctx.fillStyle = "red";
|
ctx.fillStyle = "red";
|
||||||
// ctx.fillRect(axisX - 1, py - 1, 2, 2);
|
ctx.fillRect(axisX - 1, py - 1, 2, 2);
|
||||||
// ctx.restore();
|
ctx.restore();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue