[hvgl] Fix null size of Part

This commit is contained in:
Behdad Esfahbod committed 2025-03-02 16:57:54 -07:00
1 parent 6ce9a20753
commit 8ff4cfbcae
1 file changed
+2 -1
+2 -1
View File
@@ -392,7 +392,8 @@ struct Part
PartComposite composite;
} u;
public:
DEFINE_SIZE_MIN (2);
// A null flags will imply PartShape. So, our null size is the size of PartShape::min_size.
DEFINE_SIZE_MIN (PartShape::min_size);
};
struct Index