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 scroll track #9508

Merged
merged 1 commit into from
Feb 9, 2024
Merged

Fix scroll track #9508

merged 1 commit into from
Feb 9, 2024

Conversation

ath3
Copy link
Contributor

@ath3 ath3 commented Feb 3, 2024

Fix for issue #9498

@the-mikedavis the-mikedavis added C-bug Category: This is a bug S-waiting-on-review Status: Awaiting review from a maintainer. labels Feb 3, 2024
@pascalkuthe
Copy link
Member

Hmm so if borders are enabled the scroll line is still hidden?

Also it seems we now have a branch ere we're the if and else if condition do the exact same thing here. That seems like codesmell to me at best a sign of a potential trial bug at worst

@ath3
Copy link
Contributor Author

ath3 commented Feb 4, 2024

Yeah, if we have borders the scroll line is hidden.

The if condition is the actual scrollbar position and is painted with scroll_style.fg.
The else condition is when the position is not the actual scrollbar position and we dont have borders enabled, and paints with scroll_style.bg.

@pascalkuthe pascalkuthe merged commit f8e2d82 into helix-editor:master Feb 9, 2024
6 checks passed
cosmikwolf pushed a commit to cosmikwolf/helix that referenced this pull request Feb 26, 2024
postsolar pushed a commit to postsolar/helix that referenced this pull request Apr 4, 2024
mtoohey31 pushed a commit to mtoohey31/helix that referenced this pull request Jun 2, 2024
Vulpesx pushed a commit to Vulpesx/helix that referenced this pull request Jun 7, 2024
smortime pushed a commit to smortime/helix that referenced this pull request Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug S-waiting-on-review Status: Awaiting review from a maintainer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Popup scroll track (ui.menu.scroll.bg) no longer being colored properly
3 participants