Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Toggling channels in the "Adjust Image" panel has retrieved a currently displayed image and using its values to populate the panel's controls. Changing each of these controls in turn triggered additional image updates, though typically without changing the image since it already had these settings. Toggling the auto-intensity has similarly triggered an "update" to the current value. While this design has simplified the callbacks, it also leads to many unnecessary triggers. This PR reduces many of those triggers by ignoring many of these redundant events.
This PR also provides a workaround for #473, where one intensity sliders may shift unexpectedly and trigger a change in the other intensity slider. The workaround is simply to turn off this synchronization during intensity slider adjustments so that the user only needs to counter the unexpected shift in one slider.