Elevate info icon layer
This commit is contained in:
parent
a74f9ce0db
commit
4c5f1f4ce0
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue