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

refactor(tab): simplify logic for scrolling active pane #1184

Merged
merged 2 commits into from
Mar 6, 2022

Conversation

tlinford
Copy link
Contributor

@tlinford tlinford commented Mar 6, 2022

Add get_active_pane_or_floating_pane_mut to Tab to allow some code deduplication in the various scroll methods.

@tlinford tlinford temporarily deployed to cachix March 6, 2022 18:07 Inactive
@tlinford tlinford temporarily deployed to cachix March 6, 2022 18:07 Inactive
@tlinford tlinford temporarily deployed to cachix March 6, 2022 18:15 Inactive
@tlinford tlinford temporarily deployed to cachix March 6, 2022 18:15 Inactive
@tlinford tlinford merged commit c5eea7b into main Mar 6, 2022
@tlinford tlinford deleted the refactor-simplify-tab-scrolling branch March 6, 2022 18:50
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