fix: disappearing manual props

This commit is contained in:
Jonathan Kelley committed 2022-07-05 18:03:04 -04:00
1 parent 19e6e43358
commit 76581e7400
3 files changed
+20 -1

No files matched your search

+1 -1
View File
@@ -61,7 +61,7 @@ impl Buffer {
}
// If there's nothing at all, empty optimization
if fields.is_empty() && children.is_empty() {
if fields.is_empty() && children.is_empty() && manual_props.is_none() {
opt_level = ShortOptimization::Empty;
}