From 7851ac5c3c4f8a87d090f4626834ac1bf4f00a43 Mon Sep 17 00:00:00 2001 From: Vladimir Enchev Date: Mon, 2 Nov 2015 12:01:42 +0200 Subject: [PATCH] styler fixed --- ui/styling/stylers.ios.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/ui/styling/stylers.ios.ts b/ui/styling/stylers.ios.ts index 64a17b9b1..00e4d913a 100644 --- a/ui/styling/stylers.ios.ts +++ b/ui/styling/stylers.ios.ts @@ -514,6 +514,7 @@ export class ActivityIndicatorStyler implements definition.stylers.Styler { var bar = view.ios; return bar.color; } + public static registerHandlers() { style.registerHandler(style.colorProperty, new stylersCommon.StylePropertyChangedHandler( ActivityIndicatorStyler.setColorProperty, @@ -554,9 +555,11 @@ export class SliderStyler implements definition.stylers.Styler { } public static registerHandlers() { - SliderStyler.setColorProperty, - SliderStyler.resetColorProperty, - SliderStyler.getNativeColorValue), "Slider"); + style.registerHandler(style.colorProperty, new stylersCommon.StylePropertyChangedHandler( + SliderStyler.setColorProperty, + SliderStyler.resetColorProperty, + SliderStyler.getNativeColorValue), "Slider"); + style.registerHandler(style.backgroundColorProperty, new stylersCommon.StylePropertyChangedHandler( SliderStyler.setBackgroundColorProperty,