mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
fix: iOS tests
This commit is contained in:
@@ -386,8 +386,12 @@ export class CssState {
|
|||||||
|
|
||||||
@profile
|
@profile
|
||||||
private updateMatch() {
|
private updateMatch() {
|
||||||
this._appliedSelectorsVersion = this.view._styleScope._getSelectorsVersion();
|
if (this.view._styleScope) {
|
||||||
this._match = this.view._styleScope ? this.view._styleScope.matchSelectors(this.view) : CssState.emptyMatch;
|
this._appliedSelectorsVersion = this.view._styleScope._getSelectorsVersion();
|
||||||
|
this._match = this.view._styleScope.matchSelectors(this.view);
|
||||||
|
} else {
|
||||||
|
this._match = CssState.emptyMatch;
|
||||||
|
}
|
||||||
this._matchInvalid = false;
|
this._matchInvalid = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user