From 22ea7cef4c21ae44641fe4f4ddf3b323f7f3efa0 Mon Sep 17 00:00:00 2001 From: Anna Bartak Date: Wed, 12 May 2021 14:06:22 +0200 Subject: [PATCH] Minor pr changes --- src/Tizen.NUI.Components/Controls/Pagination.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Tizen.NUI.Components/Controls/Pagination.cs b/src/Tizen.NUI.Components/Controls/Pagination.cs index f458c30..9a123ac 100755 --- a/src/Tizen.NUI.Components/Controls/Pagination.cs +++ b/src/Tizen.NUI.Components/Controls/Pagination.cs @@ -367,7 +367,8 @@ namespace Tizen.NUI.Components SelectIn(indicatorList[selectedIndex]); - if (IsHighlighted) { + if (IsHighlighted) + { EmitAccessibilityEvent(ObjectPropertyChangeEvent.Value); } } @@ -421,11 +422,11 @@ namespace Tizen.NUI.Components [EditorBrowsable(EditorBrowsableState.Never)] protected override bool AccessibilitySetCurrent(double value) { - int f = (int)value; + int integerValue = (int)value; - if (f >= 0 && f <= IndicatorCount) + if (integerValue >= 0 && integerValue <= IndicatorCount) { - SelectedIndex = f; + SelectedIndex = integerValue; return true; } -- 2.7.4