fix: tooltip not updated after theme changed (#233)

This commit is contained in:
leo 2024-07-03 00:03:24 +08:00
parent 54fb25257e
commit 997edae858
No known key found for this signature in database

View file

@ -160,6 +160,11 @@
<Setter Property="FontSize" Value="{Binding Source={x:Static vm:Preference.Instance}, Path=DefaultFontSize}"/>
</Style>
<Style Selector="ToolTip">
<Setter Property="Foreground" Value="{DynamicResource Brush.FG1}"/>
<Setter Property="Background" Value="{DynamicResource Brush.Popup}"/>
</Style>
<Style Selector="FlyoutPresenter">
<Setter Property="MaxWidth" Value="1024"/>
<Setter Property="MaxHeight" Value="768"/>