-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
UI node outlines #9931
Merged
Merged
UI node outlines #9931
Commits on Sep 26, 2023
-
Adds support for outlines to Bevy UI.
* The `Outline` component adds an outline to a UI Node. * The `outline_width` field added to `Node` holds the resolved width of the outline, which is set by the `resolve_outlines_system` after layout recomputation. * Outlines are drawn by the system `extract_uinode_outlines`.
Configuration menu - View commit details
-
Copy full SHA for 939411e - Browse repository at this point
Copy the full SHA 939411eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f2a5595 - Browse repository at this point
Copy the full SHA f2a5595View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e82b9e - Browse repository at this point
Copy the full SHA 0e82b9eView commit details -
Implement clipping for outlines. Outlines are drawn outside out of a …
…node's border, so they are clipped using the clipping Rect of their ui node entity's parent.
Configuration menu - View commit details
-
Copy full SHA for 53a5e9f - Browse repository at this point
Copy the full SHA 53a5e9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for cbdbf85 - Browse repository at this point
Copy the full SHA cbdbf85View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d9df14 - Browse repository at this point
Copy the full SHA 0d9df14View commit details -
Configuration menu - View commit details
-
Copy full SHA for 677dcda - Browse repository at this point
Copy the full SHA 677dcdaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 472c14f - Browse repository at this point
Copy the full SHA 472c14fView commit details -
Allow
Outline
s to be drawn with an offset:* Added an `outline_offset: f32` field to Node. * Added an `offset: Val` field to `Outline`. * In `extract_uinode_outlines` the twice the outline offset is added to the node size before calculating
Configuration menu - View commit details
-
Copy full SHA for fd63961 - Browse repository at this point
Copy the full SHA fd63961View commit details
Commits on Oct 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a01e290 - Browse repository at this point
Copy the full SHA a01e290View commit details -
Configuration menu - View commit details
-
Copy full SHA for 975813b - Browse repository at this point
Copy the full SHA 975813bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7bf07c7 - Browse repository at this point
Copy the full SHA 7bf07c7View commit details
Commits on Oct 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 39b390e - Browse repository at this point
Copy the full SHA 39b390eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8cd8e55 - Browse repository at this point
Copy the full SHA 8cd8e55View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32c6c09 - Browse repository at this point
Copy the full SHA 32c6c09View commit details
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.