-
-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: merge Overlapping Scrollbar Tickmarks for Efficiency
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
- Loading branch information
Showing
2 changed files
with
76 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters