Made resizing tiled windows much more efficient
@@ -732,8 +732,12 @@ impl LayoutTree {
panic!("Applying gaps for borders, found non-view/container")
}
}
+ // TODO Hack to make the resizing on tiled works
+ // Should restructure code so I don't need to do this check
+ if container.get_type() == ContainerType::View {
container.resize_borders(geometry);
}
+ }
for child_ix in self.tree.children_of(node_ix) {
try!(self.add_borders(child_ix))
}
