Skip to content

Place scroll hint markers near scrollbar edges - #1437

Open
LwhJesse wants to merge 1 commit into
gdh1995:masterfrom
LwhJesse:pr/scroll-hint-marker-near-scrollbar
Open

Place scroll hint markers near scrollbar edges#1437
LwhJesse wants to merge 1 commit into
gdh1995:masterfrom
LwhJesse:pr/scroll-hint-marker-near-scrollbar

Conversation

@LwhJesse

Copy link
Copy Markdown

This adjusts link hint marker placement for scrollable targets.

For scrollY hints, the marker is placed near the right edge of the visible scrollable area. For scrollX hints, the marker is placed near the bottom edge. Other hint types keep the existing placement behavior.

This makes scroll-only hint mappings easier to understand visually, because markers appear near the corresponding scrollbar instead of the element's top-left corner.

Tested locally by loading the built extension unpacked in Chrome and using a scroll-only mapping:
map ;s LinkHints.activateModeToFocus typeFilter=768

Verified vertical scroll containers and horizontal scroll containers show markers near their scrollbar edges.

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