Skip to content
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

fps widget hidden behind a size 100% imagebundle #20

Open
mirsella opened this issue Sep 21, 2024 · 0 comments
Open

fps widget hidden behind a size 100% imagebundle #20

mirsella opened this issue Sep 21, 2024 · 0 comments

Comments

@mirsella
Copy link

mirsella commented Sep 21, 2024

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 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant