mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: requestLayout after applying
This commit is contained in:
committed by
Nathan Walker
parent
7c60735d14
commit
14e88f6e9d
@@ -31,11 +31,13 @@ export class CssPlaygroundModel extends Observable {
|
|||||||
removeTaggedAdditionalCSS(CSSTag);
|
removeTaggedAdditionalCSS(CSSTag);
|
||||||
|
|
||||||
playLabel._onCssStateChange();
|
playLabel._onCssStateChange();
|
||||||
|
playLabel.requestLayout();
|
||||||
}
|
}
|
||||||
|
|
||||||
applyCSS(args) {
|
applyCSS(args) {
|
||||||
this.resetCSS();
|
this.resetCSS();
|
||||||
addTaggedAdditionalCSS(`#play { ${this.currentCSS}`, CSSTag);
|
addTaggedAdditionalCSS(`#play { ${this.currentCSS}`, CSSTag);
|
||||||
playLabel._onCssStateChange();
|
playLabel._onCssStateChange();
|
||||||
|
playLabel.requestLayout();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user