Skip to content

Commit

Permalink
Merge pull request #407 from Roshaless/disable-animation
Browse files Browse the repository at this point in the history
Disable animation of GlassCard on the TitleBar Menu
  • Loading branch information
kikipoulet authored Feb 14, 2025
2 parents 2881290 + ca1170d commit 61cdf5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SukiUI/Controls/SukiWindow.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
</Panel>
</LayoutTransformControl>
<Panel IsVisible="{TemplateBinding IsMenuVisible}">
<suki:GlassCard CornerRadius="0" BorderThickness="0" Margin="0,0,0,0" IsVisible="{TemplateBinding ShowTitlebarBackground}"></suki:GlassCard>
<suki:GlassCard CornerRadius="0" BorderThickness="0" Margin="0,0,0,0" IsAnimated="False" IsVisible="{TemplateBinding ShowTitlebarBackground}"></suki:GlassCard>
<suki:GlassCard CornerRadius="13" Margin="10,2,10,10" Name="AlternativeGlassMenuBackground"></suki:GlassCard>
<Menu Name="PART_Menu" IsEnabled="{TemplateBinding IsMenuVisible}" ItemsSource="{TemplateBinding MenuItems}" />
</Panel>
Expand Down Expand Up @@ -202,4 +202,4 @@
<ControlTheme x:Key="{x:Type suki:SukiWindow}"
BasedOn="{StaticResource SukiWindowTheme}"
TargetType="suki:SukiWindow" />
</ResourceDictionary>
</ResourceDictionary>

0 comments on commit 61cdf5f

Please sign in to comment.