This website requires JavaScript.
Explore
Help
Register
Sign In
humza
/
sml-projects
Watch
1
Star
0
Fork
0
You've already forked sml-projects
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
9e76a38ece650bffce906eee76627b68a4c55b15
sml-projects
/
fcore
/
text-scroll.sml
Humza Shahid
f2ec6b80c2
fix bug when the cursor is on the last column of a horizontally-scrollable line. Before this commit, the last column/character was not visible. Now it is. We fixed this by decrementing the 'howManyColumnsCanWeFit' value in the 'TesxtScroll.getScrollColumn' function by 1. This works because it was an off-by-one error that caused this bug in the first place (we didn't previously count column 0 as visible and taking up space)
2025-09-13 01:03:44 +01:00
1.3 KiB
Raw
Blame
History
View Raw
Reference in New Issue
View Git Blame
Copy Permalink