Commit e0415f1
committed
Correct scroll length for left and up directions
Previously, the calculation for the distance of leftward and upward scrolling resulted in the text bitmap not being
scrolled completely off the display.
For leftward scrolling, this would be noticeable in the case where the bitmap of the last character in the string had
populated pixels on the rightmost column. For upward scrolling, this would be noticeable in the case where the bitmap of
any character in the string had populated pixels on the bottom row.1 parent 589b622 commit e0415f1
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
452 | 452 | | |
453 | 453 | | |
454 | 454 | | |
455 | | - | |
| 455 | + | |
456 | 456 | | |
457 | 457 | | |
458 | 458 | | |
| |||
476 | 476 | | |
477 | 477 | | |
478 | 478 | | |
479 | | - | |
| 479 | + | |
480 | 480 | | |
481 | 481 | | |
482 | 482 | | |
| |||
0 commit comments