WIP: using macOS NativeMenu API

This commit is contained in:
2026-06-08 13:58:43 +08:00
parent cb205d49db
commit 9fa79febc5
2 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,7 @@
<Application xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="GUI.App"
Name="Resonance"
xmlns:local="using:GUI"
RequestedThemeVariant="Default">
<!-- "Default" ThemeVariant follows system theme variant. "Dark" or "Light" are other available options. -->
@@ -13,7 +14,6 @@
<NativeMenu.Menu>
<NativeMenu>
<NativeMenuItem Header="关于…" />
<NativeMenuItemSeparator></NativeMenuItemSeparator>
<NativeMenuItem Header="偏好设置…"/>
</NativeMenu>
</NativeMenu.Menu>