mirror of
https://gitee.com/chinware/atomui.git
synced 2024-12-02 03:47:52 +08:00
修复子菜单弹出问题
This commit is contained in:
parent
372a729989
commit
8e29c96038
@ -141,6 +141,7 @@ internal class MenuItemTheme : ControlTheme
|
||||
menuIndicatorIcon.RegisterInNameScope(scope);
|
||||
|
||||
var popup = CreateMenuPopup();
|
||||
popup.RegisterInNameScope(scope);
|
||||
|
||||
layout.Children.Add(togglePresenter);
|
||||
layout.Children.Add(iconPresenter);
|
||||
|
@ -51,6 +51,7 @@ public class TopLevelMenuItemTheme : ControlTheme
|
||||
panel.Children.Add(contentPresenter);
|
||||
|
||||
var popup = CreateMenuPopup();
|
||||
popup.RegisterInNameScope(scope);
|
||||
panel.Children.Add(popup);
|
||||
return panel;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user