bevyengine / bevyengine/bevy

Unify Z values for dev tool windows

Open
#22,719 0 comments 0 reactions 0 assignees View on GitHub
A-Dev-Tools C-Code-Quality C-Refinement D-Straightforward S-Ready-For-Implementation
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 16h
Merged PRs (30d)
171

Description

I've also noticed that there is a bit of overlap with the FpsOverlay: notably the Z indices are wildly different even though the intent seems very similar to me, and I think that time graphs like the FpsOverlay has for frame times would be a cool addition to this overlay in the future as well.

_Originally posted by @janis-bhm in https://github.com/bevyengine/bevy/pull/22486#pullrequestreview-3707844885_


IMO some constant in bevy_dev_tools is probably the way to go here.

Contributor guide

Open the contributing guide

Research direction

Start in the bevy_dev_tools code and search the development-tool windows and FpsOverlay for their Z-index values. Identify the overlapping constants and introduce the shared constant suggested in the issue. Done means the relevant overlays use unified Z values without changing their intended ordering.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
devtools
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.