Repository navigation
Hide the display panel's layout for a lone display - #17232
Merged
Merged
Conversation
A map of one box had nothing to arrange; it stayed only so the display could be rotated with a right click. The section now shows when there are displays to arrange or one to mirror onto, and r opens the rotate menu near the top of the panel when there's no map to open it over. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
[Low impact] The PR appears safe to merge. SummaryHides the display panel’s Layout section when there is nothing to arrange and Mirror/Extend is unavailable.
Acknowledgment: Reviews (1) · Last reviewed commit: "Hide the display panel's layout for a lo..." · Reviewed by Greptile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
With a single monitor, the display panel still showed its Layout section: a map of one box with nothing to arrange. It was kept so the display could be rotated by right-clicking it.
The section now shows only when there are displays to arrange or Mirror/Extend is offered (which includes the mirrored stack).
rstill opens the rotate menu for a lone display, near the top of the panel, since there's no map to open it over.Tested:
monitor-test.sh. Checked live on a single display: the panel ends at Scale, andropens the rotate menu near the top with the current rotation checked.🤖 Generated with Claude Code