Skip to content

Remove redundant after ordering from build_text_interop#23165

Open
ickshonpe wants to merge 1 commit intobevyengine:mainfrom
ickshonpe:remove-redundant-ordering-constraints-from-build-text-interop
Open

Remove redundant after ordering from build_text_interop#23165
ickshonpe wants to merge 1 commit intobevyengine:mainfrom
ickshonpe:remove-redundant-ordering-constraints-from-build-text-interop

Conversation

@ickshonpe
Copy link
Contributor

Objective

Remove these after constraints on text_system from build_text_interop:

.after(bevy_text::load_font_assets_into_font_collection)
.after(bevy_asset::AssetEventSystems)

They are redundant because text_system runs in UiSystems::PostLayout, which is already ordered after load_font_assets_into_font_collection and AssetEventSystems through UiSystems::Content.

Solution

Remove them.

…interop`:

```
.after(bevy_text::load_font_assets_into_font_collection)
.after(bevy_asset::AssetEventSystems)
```

They are redundant because `text_system` runs in `UiSystems::PostLayout`, which is already ordered after `load_font_assets_into_font_collection` and `AssetEventSystems` through `UiSystems::Content`.
@ickshonpe ickshonpe added A-Text Rendering and layout for characters A-UI Graphical user interfaces, styles, layouts, and widgets labels Feb 27, 2026
@github-project-automation github-project-automation bot moved this to Needs SME Triage in UI Feb 27, 2026
@ickshonpe ickshonpe added D-Trivial Nice and easy! A great choice to get started with Bevy S-Needs-Review Needs reviewer attention (from anyone!) to move forward C-Code-Quality A section of code that is hard to understand or change labels Feb 27, 2026
Copy link
Contributor

@kfc35 kfc35 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified for myself that removing this is correct logically

@kfc35 kfc35 added S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it and removed S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Feb 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Text Rendering and layout for characters A-UI Graphical user interfaces, styles, layouts, and widgets C-Code-Quality A section of code that is hard to understand or change D-Trivial Nice and easy! A great choice to get started with Bevy S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it

Projects

Status: Needs SME Triage

Development

Successfully merging this pull request may close these issues.

2 participants