Skip to content

Commit

Permalink
Print weekly on top half of letter-sized page.
Browse files Browse the repository at this point in the history
  • Loading branch information
gmadrid committed Jan 4, 2023
1 parent 8aa79f7 commit 4c93980
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bin/weekly.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,12 +285,12 @@ pub fn main() -> Result<()> {

let page_rect = sizes::letter();
let top_half = page_rect.resize(page_rect.width(), page_rect.height() / 2.0);


save_one_page_document(
"Productivity Tracker",
&args.output_filename,
&page_rect,
|doc, page_rect| render_weekly(doc, page_rect),
|doc, page_rect| render_weekly(doc, &top_half),
)
}

0 comments on commit 4c93980

Please sign in to comment.