summaryrefslogtreecommitdiff
path: root/src/library/layout.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/layout.rs')
-rw-r--r--src/library/layout.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/library/layout.rs b/src/library/layout.rs
index ed936816..5dd754bb 100644
--- a/src/library/layout.rs
+++ b/src/library/layout.rs
@@ -8,7 +8,6 @@ function! {
body: SyntaxModel,
width: Option<ScaleLength>,
height: Option<ScaleLength>,
- debug: Option<bool>,
}
parse(header, body, ctx, f) {
@@ -16,7 +15,6 @@ function! {
body: body!(opt: body, ctx, f).unwrap_or(SyntaxModel::new()),
width: header.args.key.get::<ScaleLength>("width", f),
height: header.args.key.get::<ScaleLength>("height", f),
- debug: header.args.key.get::<bool>("debug", f),
}
}
@@ -24,10 +22,6 @@ function! {
ctx.repeat = false;
ctx.spaces.truncate(1);
- if let Some(debug) = self.debug {
- ctx.debug = debug;
- }
-
self.width.with(|v| {
let length = v.raw_scaled(ctx.base.x);
ctx.base.x = length;