From 10898b9001c467ad353b54eea3c2d6545fb6dd7d Mon Sep 17 00:00:00 2001 From: Ciprian Filipas Date: Wed, 28 Mar 2012 15:49:51 +0300 Subject: [PATCH] fixed the slider value issue --- .../mosyncRuntime/Source/Modules/NativeUI/MoSyncSlider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtimes/csharp/windowsphone/mosync/mosyncRuntime/Source/Modules/NativeUI/MoSyncSlider.cs b/runtimes/csharp/windowsphone/mosync/mosyncRuntime/Source/Modules/NativeUI/MoSyncSlider.cs index ad8afee86..1f1694086 100644 --- a/runtimes/csharp/windowsphone/mosync/mosyncRuntime/Source/Modules/NativeUI/MoSyncSlider.cs +++ b/runtimes/csharp/windowsphone/mosync/mosyncRuntime/Source/Modules/NativeUI/MoSyncSlider.cs @@ -121,7 +121,7 @@ public int Value { set { - if (value < 0) + if (0 <= value) { if (value <= mMaxValue && value >= mMinValue) {