Commit c403fa3
authored
Fix lineWidth typo and adjust ctx.restore() placement (#1269)
Corrected canvas context property from linewidth to lineWidth for proper line rendering. Moved ctx.restore() to after both drawing operations to ensure canvas state is restored correctly.1 parent 8af5786 commit c403fa3
1 file changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1423 | 1423 | | |
1424 | 1424 | | |
1425 | 1425 | | |
1426 | | - | |
| 1426 | + | |
1427 | 1427 | | |
1428 | 1428 | | |
1429 | | - | |
1430 | 1429 | | |
1431 | 1430 | | |
1432 | | - | |
1433 | 1431 | | |
1434 | 1432 | | |
1435 | | - | |
| 1433 | + | |
1436 | 1434 | | |
1437 | 1435 | | |
| 1436 | + | |
1438 | 1437 | | |
1439 | 1438 | | |
1440 | 1439 | | |
| |||
0 commit comments