diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-05-14 11:14:28 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-05-14 11:14:28 +0200 |
| commit | e65c2b949c61fde471e03881359a2946845b554f (patch) | |
| tree | 912633376c8dfc9ab63bde24951886df455604b8 /src/layout/background.rs | |
| parent | 33733fd1efda760d65ff9124b6d143a147edbd11 (diff) | |
Remove resource abstraction and handle images natively
Diffstat (limited to 'src/layout/background.rs')
| -rw-r--r-- | src/layout/background.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/background.rs b/src/layout/background.rs index 515eef71..33a9ce75 100644 --- a/src/layout/background.rs +++ b/src/layout/background.rs @@ -30,7 +30,7 @@ impl Layout for BackgroundNode { } }; - let element = Element::Geometry(Geometry { shape, fill: self.fill }); + let element = Element::Geometry(shape, self.fill); frame.elements.insert(0, (point, element)); } |
