-
Notifications
You must be signed in to change notification settings - Fork 30
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
Highlight misalignment #78
Comments
This is from the text extending into where a scroll bar would be but the highlight doesn't, if you reduce the window height to force it to overflow and show the scroll bar the highlight syncs up properly. I slapped |
Oh you're right. Meanwhile I'm gonna slip in a tiny nitpick: the wrench icon position looks a bit ugly when the scrollbar appears. |
Yes, this is likely a duplicate of #12, but it's hard to say if it's really the same issue because I remember it was happening even when the scroll bar was visible.
I'm really confused about why this would happen... However, if it's as you say, this is likely an easy fix.
I agree. However, it's not something that bothered me enough for me to fix it myself lol |
Edit: Sorry, I didn't realize this is Issue #12. Close?
Often we have to adjust the display width to realign the token highlights.
As a non-coder at first I imagined it has something to do with the highlight hitting the margin before the text does. When you shrink the display, you can see the highlight get pushed to the next line before the text. But it's not as simple as extending the highlighting's margin by 1 pixel. I remember that most tokens start with a space, and I notice a space at the end of a line may or may not be "rendered" depending on whether it fits.
No clue how to solve this without adding bloat. SillyTavern does Token Probabilities in a separate panel with uneditable words and only for the newest message. Mikupad has highlighting over editable text because it's cool like that.
The text was updated successfully, but these errors were encountered: