Skip to content

Commit e13fee1

Browse files
fixed lines index position
1 parent 609f29e commit e13fee1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/widget/widget.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export class WidgetService {
3131
generate_indexes(count: number) {
3232
const array = [];
3333
for (let index = 1; index <= count; index++) {
34-
array.push(`<tspan x="${index < 10 ? '10' : '0'}" dy="${index === 1 ? '0' : '19'}">${index}</tspan>`);
34+
array.push(`<tspan x="${index < 10 ? '9' : '0'}" dy="${index === 1 ? '0' : '19'}">${index}</tspan>`);
3535
}
3636

3737
return array.join('\n');

0 commit comments

Comments
 (0)