mirror of
https://github.com/samsonjs/spirit-tracker.git
synced 2026-03-25 09:25:51 +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);
|
||||
|
||||
// DEBUG: show axis anchor point (remove later)
|
||||
// ctx.save();
|
||||
// ctx.globalAlpha = 0.9;
|
||||
// ctx.fillStyle = "red";
|
||||
// ctx.fillRect(axisX - 1, py - 1, 2, 2);
|
||||
// ctx.restore();
|
||||
ctx.save();
|
||||
ctx.globalAlpha = 0.9;
|
||||
ctx.fillStyle = "red";
|
||||
ctx.fillRect(axisX - 1, py - 1, 2, 2);
|
||||
ctx.restore();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue