refactor: remove accessible_pane_view.patch (#29262)
This commit is contained in:
parent
4e2934a872
commit
259bf8c4f7
5 changed files with 63 additions and 217 deletions
|
@ -62,7 +62,7 @@ void RootView::SetMenu(ElectronMenuModel* menu_model) {
|
|||
return;
|
||||
|
||||
if (!menu_bar_) {
|
||||
menu_bar_ = std::make_unique<MenuBar>(this);
|
||||
menu_bar_ = std::make_unique<MenuBar>(window_, this);
|
||||
menu_bar_->set_owned_by_client();
|
||||
if (!menu_bar_autohide_)
|
||||
SetMenuBarVisibility(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue