summaryrefslogtreecommitdiff
path: root/src/layout/model.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2020-08-02 21:17:42 +0200
committerLaurenz <laurmaedje@gmail.com>2020-08-02 21:17:42 +0200
commitcbbc46215fe0a0ad8a50e991ec442890b8eadc0a (patch)
tree2efbac21cec46787f1efe0a859564b9614eefa98 /src/layout/model.rs
parentd5ff97f42ed1e682a66ea8d51e5f9ed1be547b9c (diff)
Layout elements and pure rust rendering 🥏
Diffstat (limited to 'src/layout/model.rs')
-rw-r--r--src/layout/model.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/layout/model.rs b/src/layout/model.rs
index bde451e6..db069870 100644
--- a/src/layout/model.rs
+++ b/src/layout/model.rs
@@ -46,8 +46,6 @@ pub struct LayoutContext<'a> {
/// Whether the layout that is to be created will be nested in a parent
/// container.
pub nested: bool,
- /// Whether to render debug boxs around layouts if `nested` is true.
- pub debug: bool,
}
/// A sequence of layouting commands.
@@ -117,7 +115,6 @@ impl<'a> ModelLayouter<'a> {
axes: ctx.axes,
align: ctx.align,
repeat: ctx.repeat,
- debug: ctx.debug && ctx.nested,
line_spacing: ctx.style.text.line_spacing(),
}),
style: ctx.style.clone(),