mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
@@ -81,21 +81,6 @@ export class SwitchStyler implements style.Styler {
|
||||
SwitchStyler.setBackgroundAndBorderProperty,
|
||||
SwitchStyler.resetBackgroundAndBorderProperty), "Switch");
|
||||
|
||||
style.registerHandler(style.borderTopColorProperty, style.ignorePropertyHandler, "Switch");
|
||||
style.registerHandler(style.borderRightColorProperty, style.ignorePropertyHandler, "Switch");
|
||||
style.registerHandler(style.borderBottomColorProperty, style.ignorePropertyHandler, "Switch");
|
||||
style.registerHandler(style.borderLeftColorProperty, style.ignorePropertyHandler, "Switch");
|
||||
|
||||
style.registerHandler(style.borderTopWidthProperty, style.ignorePropertyHandler, "Switch");
|
||||
style.registerHandler(style.borderRightWidthProperty, style.ignorePropertyHandler, "Switch");
|
||||
style.registerHandler(style.borderBottomWidthProperty, style.ignorePropertyHandler, "Switch");
|
||||
style.registerHandler(style.borderLeftWidthProperty, style.ignorePropertyHandler, "Switch");
|
||||
|
||||
style.registerHandler(style.borderTopLeftRadiusProperty, style.ignorePropertyHandler, "Switch");
|
||||
style.registerHandler(style.borderTopRightRadiusProperty, style.ignorePropertyHandler, "Switch");
|
||||
style.registerHandler(style.borderBottomRightRadiusProperty, style.ignorePropertyHandler, "Switch");
|
||||
style.registerHandler(style.borderBottomLeftRadiusProperty, style.ignorePropertyHandler, "Switch");
|
||||
|
||||
style.registerHandler(style.backgroundInternalProperty, style.ignorePropertyHandler, "Switch");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -107,7 +107,6 @@ export class SwitchStyler implements style.Styler {
|
||||
SwitchStyler.resetBackgroundColorProperty,
|
||||
SwitchStyler.getBackgroundColorProperty), "Switch");
|
||||
|
||||
// Ignore the default backgroundInternalProperty handler
|
||||
style.registerHandler(style.backgroundInternalProperty, style.ignorePropertyHandler, "Switch");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user