projects
/
platform
/
core
/
csapi
/
tizenfx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e47b851
)
[NUI] Picker: Fix wrong value set logic
author
Woochanlee
<wc0917.lee@samsung.com>
Wed, 29 Jun 2022 13:37:14 +0000
(22:37 +0900)
committer
Jaehyun Cho
<jaehyun0cho@gmail.com>
Mon, 4 Jul 2022 07:13:17 +0000
(16:13 +0900)
src/Tizen.NUI.Components/Controls/Picker.cs
patch
|
blob
|
history
diff --git
a/src/Tizen.NUI.Components/Controls/Picker.cs
b/src/Tizen.NUI.Components/Controls/Picker.cs
index
d27ffce
..
722fc0e
100755
(executable)
--- a/
src/Tizen.NUI.Components/Controls/Picker.cs
+++ b/
src/Tizen.NUI.Components/Controls/Picker.cs
@@
-229,11
+229,9
@@
namespace Tizen.NUI.Components
set
{
if (currentValue == value) return;
-
- if (currentValue < minValue) currentValue = minValue;
- else if (currentValue > maxValue) currentValue = maxValue;
-
- currentValue = value;
+ if (value < minValue) currentValue = minValue;
+ else if (value > maxValue) currentValue = maxValue;
+ else currentValue = value;
UpdateCurrentValue();
}