Skip to content

Commit

Permalink
feat: CascadingMenuHelper update to winui3/release/1.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinZikmund committed Jun 24, 2024
1 parent 63cab0a commit 8903703
Show file tree
Hide file tree
Showing 8 changed files with 886 additions and 979 deletions.
2 changes: 2 additions & 0 deletions src/Uno.UI/UI/Xaml/Controls/AppBar/AppBarButton.Partial.cs
Original file line number Diff line number Diff line change
Expand Up @@ -882,5 +882,7 @@ private void GetTemplatePart<T>(string name, out T? element) where T : class
{
element = GetTemplateChild(name) as T;
}

public void SetSubMenuDirection(bool isSubMenuDirectionUp) { }
}
}
10 changes: 0 additions & 10 deletions src/Uno.UI/UI/Xaml/Controls/Flyout/FlyoutBase.mux.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,4 @@ internal void SetIsWindowedPopup()
// }
//}
}

private bool IsWindowedPopup()
{
return false;
// TODO: Uno
//bool areWindowedPopupsSupported = CPopup::DoesPlatformSupportWindowedPopup(DXamlCore::GetCurrent()->GetHandle());
//bool isPopupWindowed = m_tpPopup ? static_cast<CPopup*>(m_tpPopup.Cast<Popup>()->GetHandle())->IsWindowed() : false;

//return areWindowedPopupsSupported && (isPopupWindowed || m_openingWindowedInProgress);
}
}
Loading

0 comments on commit 8903703

Please sign in to comment.