branchsbox/css-defaultscancel

2 Commits over 0 Days - ∞cph!

9 Months Ago
Generate Style.Unset(), start using IsSet()
9 Months Ago
Remove nullability from public-facing BaseStyles properties We'll keep the internal nullable fields, allowing us to automatically refer back to default property values if these are null (these are now defined alongside the properties themselves). This means we don't have to keep remembering the default values for each CSS property and check for null manually each time - which is a massive pain in the ass and was spilling over into our menu addon(!)