From 80a9b300d1acb8821ac0600aad3d2135ad9587bd Mon Sep 17 00:00:00 2001 From: Martin Date: Fri, 18 Jun 2021 13:01:55 +0200 Subject: Ref count the frames --- src/layout/fixed.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/layout/fixed.rs') diff --git a/src/layout/fixed.rs b/src/layout/fixed.rs index 19876987..73235168 100644 --- a/src/layout/fixed.rs +++ b/src/layout/fixed.rs @@ -16,7 +16,7 @@ impl Layout for FixedNode { &self, ctx: &mut LayoutContext, regions: &Regions, - ) -> Vec> { + ) -> Vec>> { let Regions { current, base, .. } = regions; let mut constraints = Constraints::new(regions.expand); constraints.set_base_using_linears(Spec::new(self.width, self.height), ®ions); -- cgit v1.2.3