diff --git a/PanCardView/Common/Styles/DefaultIndicatorItemStyles.cs b/PanCardView/Common/Styles/DefaultIndicatorItemStyles.cs index 1ba5f51..39c6861 100644 --- a/PanCardView/Common/Styles/DefaultIndicatorItemStyles.cs +++ b/PanCardView/Common/Styles/DefaultIndicatorItemStyles.cs @@ -10,7 +10,7 @@ static DefaultIndicatorItemStyles() } public static Style DefaultSelectedIndicatorItemStyle - => _defaultSelectedIndicatorItemStyle ??= new Style(typeof(Frame)) + => _defaultSelectedIndicatorItemStyle ??= new Style(typeof(Border)) { Setters = { new Setter { Property = VisualElement.BackgroundColorProperty, Value = Colors.White.MultiplyAlpha(.8f) } @@ -18,7 +18,7 @@ public static Style DefaultSelectedIndicatorItemStyle }; public static Style DefaultUnselectedIndicatorItemStyle - => _defaultUnselectedIndicatorItemStyle ??= new Style(typeof(Frame)) + => _defaultUnselectedIndicatorItemStyle ??= new Style(typeof(Border)) { Setters = { new Setter { Property = VisualElement.BackgroundColorProperty, Value = Colors.Transparent }, diff --git a/PanCardViewSample/PanCardViewSample/Common/Views/CarouselSampleSrollView.cs b/PanCardViewSample/PanCardViewSample/Common/Views/CarouselSampleSrollView.cs index b0cd66f..5efa284 100644 --- a/PanCardViewSample/PanCardViewSample/Common/Views/CarouselSampleSrollView.cs +++ b/PanCardViewSample/PanCardViewSample/Common/Views/CarouselSampleSrollView.cs @@ -18,7 +18,7 @@ public CarouselSampleSrollView() Children = { new IndicatorsControl { - SelectedIndicatorStyle = new Style(typeof(Frame)) + SelectedIndicatorStyle = new Style(typeof(Border)) { BasedOn = DefaultIndicatorItemStyles.DefaultSelectedIndicatorItemStyle, Setters = {