Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the cursor position #99

Merged
merged 1 commit into from
Feb 26, 2025
Merged

Fix the cursor position #99

merged 1 commit into from
Feb 26, 2025

Conversation

weihsinyeh
Copy link
Collaborator

@weihsinyeh weihsinyeh commented Feb 25, 2025

The coordinates (x,y) of the cursor should not be set to the cursor's width (14) and height (20). Instead, the coordinates should be set to (0,0), ensuring that the cursor's hotspot is correctly aligned at the intended position.

Summary by Bito

This pull request fixes a bug in the cursor positioning logic by updating the coordinates from (14,20) to (0,0). This adjustment ensures the cursor's hotspot is correctly aligned, enhancing the overall user experience.

Unit tests added: False

Estimated effort to review (1-5, lower is better): 2

The coordinates (x,y) of the cursor should not be set to the cursor's
width (14) and height (20). Instead, the coordinates should be set to
(0,0), ensuring that the cursor's hotspot is correctly aligned at the
intended position.

Signed-off-by: Wei-Hsin Yeh <[email protected]>
@jserv jserv merged commit e5921af into sysprog21:main Feb 26, 2025
3 checks passed
@jserv
Copy link
Contributor

jserv commented Feb 26, 2025

Thank @weihsinyeh for contributing!

@weihsinyeh weihsinyeh deleted the cursor branch March 13, 2025 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants