Skip to content

Commit

Permalink
reset cache when removing all rules
Browse files Browse the repository at this point in the history
  • Loading branch information
ianharrigan committed Sep 29, 2024
1 parent ecb2776 commit e7fc1b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions haxe/ui/styles/StyleSheet.hx
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ class StyleSheet {

public function removeAllRules() {
_rules = [];
_parsedCss = [];
}

public function clear() {
Expand Down

0 comments on commit e7fc1b2

Please sign in to comment.