-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
new UI clipping implementation #24148
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
Open
ickshonpe
wants to merge
24
commits into
bevyengine:main
Choose a base branch
from
ickshonpe:overflow-transform
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 7 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
28bd27c
New UI clipping implementation.
ickshonpe d07aefe
Merge branch 'main' into overflow-transform
ickshonpe 4c5794b
Update _release-content/migration-guides/calculated_clip_rects.md
ickshonpe 01ea5dd
fix migration guide
ickshonpe 218dfb5
Merge branch 'overflow-transform' of https://github.com/ickshonpe/bev…
ickshonpe cac33ca
formatting
ickshonpe 27b200d
Merge branch 'main' into overflow-transform
ickshonpe a9dea65
Merge branch 'main' into overflow-transform
ickshonpe 1c4dc92
replaced map_or with is_none_or
ickshonpe 38beb0b
removed redundant closure
ickshonpe 5ba6143
Removed unused shader flags logic from ui_texture_slice_pipeline
ickshonpe 8cb84ff
fixed doc link
ickshonpe 71e4091
removed second scale factor multiplication in resolve_clip_rect
ickshonpe 4c409b3
Merge branch 'main' into overflow-transform
ickshonpe ca366f1
use bevy::math sin
ickshonpe 0f81c5a
Merge branch 'overflow-transform' of https://github.com/ickshonpe/bev…
ickshonpe 7e884fe
Merge branch 'main' into overflow-transform
ickshonpe 8442a87
iter edges
ickshonpe 4b97269
removed distance function
ickshonpe 778e9f9
updated clip_polygon's doc comments
ickshonpe f37cd2c
Added arguments to do comments and INLINE_CAPACITY const
ickshonpe 362e2b0
Merge branch 'main' into overflow-transform
ickshonpe bdf1d45
Added calculate_text_scroll_clip helper fn
ickshonpe 9a08544
Merge branch 'overflow-transform' of https://github.com/ickshonpe/bev…
ickshonpe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| title: "`CalculatedClip` now stores transformed clip rectangles" | ||
| pull_requests: [24148] | ||
| --- | ||
|
|
||
| `CalculatedClip` is now an enum with `Rects` and `FullyClipped` variants. `Rects` holds a list of `Rect` in node local coords and `Affine2` world-to-local transform. |
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.