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: align view after jumplist_picker #3743

Merged
merged 2 commits into from
Dec 6, 2022
Merged

fix: align view after jumplist_picker #3743

merged 2 commits into from
Dec 6, 2022

Commits on Dec 6, 2022

  1. Add View::ensure_cursor_in_view_center to adjust view after searchi…

    …ng and jumping
    
    Also `offset_coodrs_to_in_view` was refactored to reduce duplicated position calculations.
    shnarazk authored and archseer committed Dec 6, 2022
    Configuration menu
    Copy the full SHA
    1a0e664 View commit details
    Browse the repository at this point in the history
  2. Fix a wrong offset calculation in offset_coords_to_in_view_center

    It ignored `scrolloff` if `centering` is false.
    shnarazk authored and archseer committed Dec 6, 2022
    Configuration menu
    Copy the full SHA
    2625b58 View commit details
    Browse the repository at this point in the history