...
This commit is contained in:
@@ -12,7 +12,7 @@ VStack :: struct {
|
||||
alignment: HAlignment;
|
||||
|
||||
add :: (self: *VStack, view: View) {
|
||||
self.children.append(ViewChild.make(view));
|
||||
self.children.append(ViewChild.{ view = view });
|
||||
}
|
||||
}
|
||||
|
||||
@@ -54,7 +54,7 @@ HStack :: struct {
|
||||
alignment: VAlignment;
|
||||
|
||||
add :: (self: *HStack, view: View) {
|
||||
self.children.append(ViewChild.make(view));
|
||||
self.children.append(ViewChild.{ view = view });
|
||||
}
|
||||
}
|
||||
|
||||
@@ -94,7 +94,7 @@ ZStack :: struct {
|
||||
alignment: Alignment;
|
||||
|
||||
add :: (self: *ZStack, view: View) {
|
||||
self.children.append(ViewChild.make(view));
|
||||
self.children.append(ViewChild.{ view = view });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user