diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-06-09 14:05:57 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-06-09 22:44:40 +0200 |
| commit | bce553a991f19b2b5bb9efef6b74bd12e15a10c6 (patch) | |
| tree | fa8ed4b3974927b30e6cffd0d71d4c3e980698de /src/layout/frame.rs | |
| parent | 29cfef0a6dfef5820bda339d327638e285aaf4d3 (diff) | |
Tidy up
Diffstat (limited to 'src/layout/frame.rs')
| -rw-r--r-- | src/layout/frame.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/layout/frame.rs b/src/layout/frame.rs index f1dc07e6..6cecc7a3 100644 --- a/src/layout/frame.rs +++ b/src/layout/frame.rs @@ -35,14 +35,6 @@ impl Frame { self.push(pos + subpos, element); } } - - /// Translate the positions of all elements in the frame by adding the - /// argument to their position. - pub fn translate(&mut self, amount: Point) { - for (pos, _) in &mut self.elements { - *pos += amount; - } - } } /// The building block frames are composed of. |
