Skip to content

Commit 3fdd513

Browse files
Icons LTR FlowDirection moved to Generic.xaml
1 parent be700a8 commit 3fdd513

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

MaterialDesignThemes.Wpf/PackIcon.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ static PackIcon()
1919
DefaultStyleKeyProperty.OverrideMetadata(typeof(PackIcon), new FrameworkPropertyMetadata(typeof(PackIcon)));
2020
}
2121

22-
public PackIcon() : base(PackIconDataFactory.Create) { }
22+
public PackIcon() : base(PackIconDataFactory.Create) { }
2323
}
2424
}

MaterialDesignThemes.Wpf/Themes/Generic.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@
794794
<Border Background="{TemplateBinding Background}"
795795
BorderBrush="{TemplateBinding BorderBrush}"
796796
BorderThickness="{TemplateBinding BorderThickness}">
797-
<Viewbox FlowDirection="LeftToRight">
797+
<Viewbox FlowDirection="{TemplateBinding FlowDirection}">
798798
<Canvas Width="24" Height="24">
799799
<Path Data="{Binding Data, RelativeSource={RelativeSource TemplatedParent}}"
800800
Fill="{TemplateBinding Foreground}" />

0 commit comments

Comments
 (0)