diff options
author | bptato <nincsnevem662@gmail.com> | 2022-01-19 14:33:23 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2022-01-19 14:33:23 +0100 |
commit | 444c70b6d6bbff83ed8fa5ec21a5ed3195ed8849 (patch) | |
tree | 5cebe631eaf5aceba09131acd66353766343a546 /src/css/cascade.nim | |
parent | b4798a6bf5ea4916fa9ccb582f067d5dab5f2fc2 (diff) | |
download | chawan-444c70b6d6bbff83ed8fa5ec21a5ed3195ed8849.tar.gz |
Fix crash on reshape
Diffstat (limited to 'src/css/cascade.nim')
-rw-r--r-- | src/css/cascade.nim | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/css/cascade.nim b/src/css/cascade.nim index 9378ffc3..3f85bfd8 100644 --- a/src/css/cascade.nim +++ b/src/css/cascade.nim @@ -166,8 +166,6 @@ proc applyRules*(document: Document, ua, user: CSSStylesheet) = stack.add(document.root) - document.root.css = rootProperties() - while stack.len > 0: let elem = stack.pop() |