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

Improve CommandView and autocomplete scroll behavior #1732

Merged

Conversation

Guldoman
Copy link
Member

Before:

Video.del.2024-02-29.05-42-43.webm

After:

Video.del.2024-02-29.05-39-18.webm

This also adds the config variable config.max_visible_commands to allow customizing the maximum number of visible command palette entries.

Also add a config option for the maximum number of visible entries in the command palette.
@Guldoman Guldoman force-pushed the PR_improve_lists_scroll_behavior branch from e9d599e to 309ee0d Compare March 1, 2024 05:06
@adamharrison
Copy link
Member

LGTM. Didn't even notice the bug before, but yeah this fixes.

@adamharrison adamharrison merged commit 2c1dc93 into lite-xl:master Mar 6, 2024
10 checks passed
@Guldoman Guldoman removed this from PR in Bugfix Release Tracker Mar 18, 2024
takase1121 added a commit that referenced this pull request Mar 23, 2024
* Make command palette item scrolling more natural

Also add a config option for the maximum number of visible entries in the command palette.

* Make `autocomplete` item scrolling more natural

Co-authored-by: Guldoman <giulio.lettieri@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants