add(Layout/Padding): clear only when necessary
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 36s

This commit is contained in:
2024-11-13 16:10:25 +01:00
parent 270ca9b1be
commit 1e59a7c593
2 changed files with 8 additions and 1 deletions

View File

@@ -81,7 +81,7 @@ pub fn main() !void {
var padding = Layout.Padding.init(
allocator,
.{
.padding = 1,
.padding = 3,
},
.{
.layout = Layout.createFrom(vstack: {