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

Prevent the autocenter option from autochanging #1609

Merged
merged 1 commit into from
Dec 17, 2022

Conversation

lmoureaux
Copy link
Contributor

The "auto center on unit" option was being changed without user interaction because of badly engineered code that was temporarily changing its value and failing to restore it. Make the code safer by introducing a new, purely internal, flag to pause the auto centering so we don't need to touch the user-visible setting.

Closes #1316.

The "auto center on unit" option was being changed without user interaction
because of badly engineered code that was temporarily changing its value and
failing to restore it. Make the code safer by introducing a new, purely
internal, flag to pause the auto centering so we don't need to touch the
user-visible setting.

Closes longturn#1316.
@lmoureaux lmoureaux requested a review from jwrober December 17, 2022 01:27
Copy link
Collaborator

@jwrober jwrober left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jwrober jwrober merged commit 01f85be into longturn:master Dec 17, 2022
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.

Auto center units option does not do anything
2 participants