Skip to content

Commit

Permalink
[TIMOB-18363] Stop using deprecated API
Browse files Browse the repository at this point in the history
  • Loading branch information
vishalduggal committed Feb 26, 2015
1 parent 4a3d37d commit f794c4f
Showing 1 changed file with 3 additions and 3 deletions.
@@ -1,6 +1,6 @@
/**
* Appcelerator Titanium Mobile
* Copyright (c) 2009-2012 by Appcelerator, Inc. All Rights Reserved.
* Copyright (c) 2009-2015 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Apache Public License
* Please see the LICENSE included with this distribution for details.
*/
Expand Down Expand Up @@ -105,11 +105,11 @@ public void processProperties(KrollDict d)
private void updateRange() {
minRange = Math.max(minRange, min);
minRange = Math.min(minRange, max);
proxy.setProperty("minRange", minRange, false);
proxy.setProperty("minRange", minRange);

maxRange = Math.min(maxRange, max);
maxRange = Math.max(maxRange, minRange);
proxy.setProperty("maxRange", maxRange, false);
proxy.setProperty("maxRange", maxRange);
}

private void updateControl() {
Expand Down

0 comments on commit f794c4f

Please sign in to comment.