Skip to content

Commit

Permalink
delete custom background of MenuFlyoutPresenter #499
Browse files Browse the repository at this point in the history
  • Loading branch information
Scighost committed Nov 18, 2023
1 parent 95fc146 commit b425de5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Starward/App.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@
<Setter Property="Background" Value="{ThemeResource CustomAcrylicBrush}" />
</Style>

<Style BasedOn="{StaticResource DefaultMenuFlyoutPresenterStyle}" TargetType="MenuFlyoutPresenter">
<!--<Style BasedOn="{StaticResource DefaultMenuFlyoutPresenterStyle}" TargetType="MenuFlyoutPresenter">
<Setter Property="Background" Value="{ThemeResource CustomAcrylicBrush}" />
</Style>
</Style>-->

<Style TargetType="FontIcon">
<Setter Property="FontFamily" Value="ms-appx:///Assets/Font/Segoe Fluent Icons.ttf#Segoe Fluent Icons" />
Expand Down

1 comment on commit b425de5

@Lightczx
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1.4 中 Flyout 默认使用 DesktopAcrylicBackdrop
如果想要恢复到与之前一致的效果
替换 MenuFlyoutPresenterSystemBackdrop 为自定义的 DesktopAcrylicBackdrop 即可

Please sign in to comment.