summaryrefslogtreecommitdiff
path: root/src/layout/frame.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout/frame.rs')
-rw-r--r--src/layout/frame.rs8
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.