diff options
| author | Martin <mhaug@live.de> | 2021-06-18 13:01:55 +0200 |
|---|---|---|
| committer | Martin <mhaug@live.de> | 2021-06-18 13:01:55 +0200 |
| commit | 80a9b300d1acb8821ac0600aad3d2135ad9587bd (patch) | |
| tree | 6626ba8891fa4db4e3a1cb13f7f4b27fc05989bf /src/layout/fixed.rs | |
| parent | 7db78d83bedf62adea0d715c9a2a179ce23a1a48 (diff) | |
Ref count the frames
Diffstat (limited to 'src/layout/fixed.rs')
| -rw-r--r-- | src/layout/fixed.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<Constrained<Frame>> { + ) -> Vec<Constrained<Rc<Frame>>> { let Regions { current, base, .. } = regions; let mut constraints = Constraints::new(regions.expand); constraints.set_base_using_linears(Spec::new(self.width, self.height), ®ions); |
