File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -241,13 +241,13 @@ export module ad {
241241 var bkg = < any > nativeView . getBackground ( ) ;
242242
243243 if ( v instanceof button . Button && ! types . isNullOrUndefined ( bkg ) && types . isFunction ( bkg . setColorFilter ) &&
244- v . borderWidth === 0 && v . borderRadius === 0 &&
244+ v . borderWidth === 0 && v . borderRadius === 0 && ! clipPathValue &&
245245 types . isNullOrUndefined ( v . style . _getValue ( style . backgroundImageProperty ) ) &&
246246 ! types . isNullOrUndefined ( v . style . _getValue ( style . backgroundColorProperty ) ) ) {
247247 let backgroundColor = bkg . backgroundColor = v . style . _getValue ( style . backgroundColorProperty ) . android ;
248248 bkg . setColorFilter ( backgroundColor , android . graphics . PorterDuff . Mode . SRC_IN ) ;
249249 bkg . backgroundColor = backgroundColor ;
250- } else if ( v . borderWidth !== 0 || v . borderRadius !== 0 || ! backgroundValue . isEmpty ( ) || ! clipPathValue . isEmpty ( ) ) {
250+ } else if ( v . borderWidth !== 0 || v . borderRadius !== 0 || ! backgroundValue . isEmpty ( ) || clipPathValue ) {
251251
252252 if ( ! ( bkg instanceof BorderDrawableClass ) ) {
253253 bkg = new BorderDrawableClass ( ) ;
You can’t perform that action at this time.
0 commit comments