Repository navigation
Keep Select element available in Design mode check - #2235
Merged
Merged
Conversation
Design comments and the target picker share their target reading, so the touch Select element command remains available in Design mode. Draw mode and a covering panel still disable it.
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.
The touch “Select element” command remains available in Design mode because #2159 made the picker and direct Design presses share one target reading. The browser check still expected it to be disabled in both Design and Draw modes. Assert availability in Design, while retaining the disabled checks for Draw mode and a covering Threads panel, plus the text-search checks in both modes.
The focused browser case failed on
mainbefore this change and passed afterward:uv run pytest tests/test_render_semantic_selection.py::test_select_element_obeys_covering_surfaces_and_pointer_modes -q -n0.This addresses one failure in main CI run 38013241865.