optimize<*>: remove dragdrop adorner; redesign bookmark style on welcome page

This commit is contained in:
leo 2022-10-18 14:50:48 +08:00
parent bdd147f737
commit 787cf5bb02
9 changed files with 36 additions and 151 deletions

View file

@ -24,15 +24,13 @@
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type Window}">
<AdornerDecorator>
<Border
Padding="{TemplateBinding Padding}"
Background="{TemplateBinding Background}"
BorderThickness="{TemplateBinding BorderThickness}"
BorderBrush="{TemplateBinding BorderBrush}">
<ContentPresenter/>
</Border>
</AdornerDecorator>
<Border
Padding="{TemplateBinding Padding}"
Background="{TemplateBinding Background}"
BorderThickness="{TemplateBinding BorderThickness}"
BorderBrush="{TemplateBinding BorderBrush}">
<ContentPresenter/>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>