Skip to content

Add a debug outlines scene to the testbed_ui example #22019

@ickshonpe

Description

@ickshonpe

What problem does this solve or what need does it fill?

The debug_overlay module is easy to forget and has been broken mutliple times recently by UI changes. There should be some simple CI check in place to ensure it's working.

More discussion at #21091

What solution would you like?

  • Add a debug outlines scene to testbed_ui. This scene should be behind a #[cfg(feature = "bevy_ui_debug")] gate.
  • Enable the "bevy_ui_debug" feature for the testbed_ui screenshot CI checks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-UIGraphical user interfaces, styles, layouts, and widgetsC-TestingA change that impacts how we test Bevy or how users test their appsD-StraightforwardSimple bug fixes and API improvements, docs, test and examplesS-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions