| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -227,19 +227,21 @@ export class View extends ViewCommon { | |||
| 227 | 227 | } | |
| 228 | 228 | ||
| 229 | 229 | private _onSizeChanged(): void { | |
| 230 | - let nativeView = this.nativeViewProtected; | ||
| 230 | + const nativeView = this.nativeViewProtected; | ||
| 231 | 231 | if (!nativeView) { | |
| 232 | 232 | return; | |
| 233 | 233 | } | |
| 234 | 234 | ||
| 235 | - let background = this.style.backgroundInternal; | ||
| 236 | - const backgroundDependsOnSize = background.image || !background.hasUniformBorder(); | ||
| 235 | + const background = this.style.backgroundInternal; | ||
| 236 | + const backgroundDependsOnSize = background.image | ||
| 237 | + || !background.hasUniformBorder() | ||
| 238 | + || background.hasBorderRadius(); | ||
| 237 | 239 | ||
| 238 | 240 | if (this._nativeBackgroundState === "invalid" || (this._nativeBackgroundState === "drawn" && backgroundDependsOnSize)) { | |
| 239 | 241 | this._redrawNativeBackground(background); | |
| 240 | 242 | } | |
| 241 | 243 | ||
| 242 | - let clipPath = this.style.clipPath; | ||
| 244 | + const clipPath = this.style.clipPath; | ||
| 243 | 245 | if (clipPath !== "" && this[clipPathProperty.setNative]) { | |
| 244 | 246 | this[clipPathProperty.setNative](clipPath); | |
| 245 | 247 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments