1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 22:53:14 -04:00

Fix the StyleModifier not being passed from popup to menu (#5805)

* [x] I have followed the instructions in the PR template
This commit is contained in:
Lucas Meurer
2025-03-18 11:29:20 +01:00
committed by GitHub
parent 024dc7b135
commit d698365dac

View File

@@ -556,7 +556,9 @@ impl<'a> Popup<'a> {
.info(info.unwrap_or_else(|| {
UiStackInfo::new(kind.into()).with_tag_value(
MenuConfig::MENU_CONFIG_TAG,
MenuConfig::new().close_behavior(close_behavior),
MenuConfig::new()
.close_behavior(close_behavior)
.style(style.clone()),
)
}));