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 !
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
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 !