Fxi bug in column subregion code

This commit is contained in:
Emil Ernerfeldt 2020-04-20 23:22:50 +02:00
parent 40a03dc9c1
commit 1f8cee7573

View file

@ -231,7 +231,7 @@ impl Region {
id: self.id,
dir: self.dir,
align: self.align,
rect: Rect::from_min_max(region_pos, self.rect.max()),
rect: Rect::from_min_size(region_pos, rect.size()),
cursor: region_pos,
bounding_size: vec2(0.0, 0.0),
}