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

chore: Add support for side scroll track markers and multi file scroll trackers #2133

Merged
merged 8 commits into from
Feb 17, 2025

Conversation

abose
Copy link
Member

@abose abose commented Feb 16, 2025

Preparing for git scroll track markers

Refactored _renderMarks(posArray) to merge overlapping or adjacent tickmarks, reducing
 DOM elements while maintaining accuracy. Instead of rendering multiple 2px markers,
 contiguous marks are merged into a single div.

Adjusted styles (brackets.less): .tickmark height is now based on 2px bg color,
added .tickmark-side (5px) for better side markers in scrollbar instead of line markers
@abose abose changed the title chore: merge Overlapping Scrollbar Tickmarks for Efficiency chore: Add support for side scroll track markers and multi file scroll trackers Feb 17, 2025
@abose abose merged commit 2997946 into main Feb 17, 2025
17 of 18 checks passed
@abose abose deleted the x branch February 17, 2025 10: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.

1 participant