Elevate info icon layer

This commit is contained in:
hodasemi 2024-05-17 14:25:01 +02:00
parent a74f9ce0db
commit 4c5f1f4ce0
2 changed files with 2 additions and 2 deletions

View file

@ -494,7 +494,7 @@ impl Gridable for Button {
self.framable.set_ui_layer(layer);
self.iconizable.set_ui_layer(layer)?;
self.textable.set_ui_layer(layer)?;
self.info_icon.set_ui_layer(layer)?;
self.info_icon.set_ui_layer(layer + 1)?;
self.normal.set_ui_layer(layer);
self.selected.set_ui_layer(layer);

View file

@ -308,7 +308,7 @@ impl Gridable for Icon {
self.framable.set_ui_layer(layer);
self.iconizable_wrapper.set_ui_layer(layer)?;
self.textable_wrapper.set_ui_layer(layer)?;
self.info_icon.set_ui_layer(layer)?;
self.info_icon.set_ui_layer(layer + 1)?;
if let Some(background) = self.background.read().unwrap().as_ref() {
background.set_ui_layer(layer);