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 tooltip showing in wrong locations #100

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

melix99
Copy link

@melix99 melix99 commented Aug 15, 2019

Fixes #98

@melix99
Copy link
Author

melix99 commented Aug 15, 2019

The screen to coords calculation is ok, the real problem was that if the cursor of the mouse is outside of the window, the render function continues to search for words and it picks the words that are on limit in the direction of the cursor. So limiting the search to just when the mouse is hovering the window, it fixes this.

@melix99
Copy link
Author

melix99 commented Aug 15, 2019

Also, little OT, @BalazsJako it would be great if you can rebase the dev branch to the current master, because dev has a cursor position problem with tabs that has been fixed in master branch (IDK if I can make a rebase in a PR honestly, but I doubt).

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.

None yet

1 participant