Skip to content

fps widget hidden behind a size 100% imagebundle #20

Description

@mirsella

hello
i do a

    commands
        .spawn(ImageBundle {
            style: Style {
                width: Val::Percent(100.0),
                height: Val::Percent(100.0),
                display: Display::Flex,
                justify_content: JustifyContent::Center,
                align_items: AlignItems::Center,
                ..default()
            },
            image: assets.water_texture.into()
        })

and

    commands.spawn((
        PerfUiRoot {
            z_index: ZIndex::Global(i32::MAX),
            ..default()
        },
        PerfUiEntryFPSWorst::default(),
        PerfUiEntryFPS::default(),
    ));

and my fps is now hidden behind. i tried to set a zindex::global or local to 0 on the imagebundle, but it didn't work.

thanks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions