Skip to content

Commit 0bed1b7

Browse files
Avid29Arlodotexe
authored andcommitted
Changed PART_Hover CornerRadius from 2 to TemplateBinding CornerRadius
1 parent 979ce51 commit 0bed1b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/Segmented/src/SegmentedItem/SegmentedItem.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
1+
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
22
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
33
xmlns:local="using:CommunityToolkit.WinUI.Controls"
44
xmlns:win="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
@@ -614,7 +614,7 @@
614614
<Border x:Name="PART_Hover"
615615
Margin="{Binding RelativeSource={RelativeSource Mode=TemplatedParent}, Converter={StaticResource MarginConverter}}"
616616
Background="Transparent"
617-
CornerRadius="2"
617+
CornerRadius="{TemplateBinding CornerRadius}"
618618
RenderTransformOrigin="0.5, 0.5">
619619
<win:Border.BackgroundTransition>
620620
<win:BrushTransition Duration="0:0:0.083" />

0 commit comments

Comments
 (0)