Skip to content

Commit

Permalink
fixes #378
Browse files Browse the repository at this point in the history
  • Loading branch information
drom committed Jul 2, 2023
1 parent f2e68f9 commit b3e324d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/render-marks.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function ticktock (cxt, ref1, ref2, x, dx, y, len) {
val = val.trim().split(/\s+/);
} else
if (typeof val === 'number' || typeof val === 'boolean') {
const offset = Number(val);
offset = Number(val);
val = [];
for (let i = 0; i < len; i += 1) {
val.push(i + offset);
Expand Down

0 comments on commit b3e324d

Please sign in to comment.