()
| 403 | } |
| 404 | |
| 405 | _onSizeChanged(): void { |
| 406 | const nativeView = this.nativeViewProtected; |
| 407 | if (!nativeView) { |
| 408 | return; |
| 409 | } |
| 410 | |
| 411 | const background = this.style.backgroundInternal; |
| 412 | const backgroundDependsOnSize = (background.image && background.image !== 'none') || background.clipPath || !background.hasUniformBorder() || background.hasBorderRadius() || background.hasBoxShadows(); |
| 413 | |
| 414 | if (this._nativeBackgroundState === 'invalid' || (this._nativeBackgroundState === 'drawn' && backgroundDependsOnSize)) { |
| 415 | this._redrawNativeBackground(background); |
| 416 | } |
| 417 | } |
| 418 | |
| 419 | public updateNativeTransform() { |
| 420 | const scaleX = this.scaleX || 1e-6; |
no test coverage detected