Skip to content

Commit

Permalink
Fixed bug: missing vert grid lines on weekly tracker
Browse files Browse the repository at this point in the history
  • Loading branch information
gmadrid committed Jan 7, 2023
1 parent 2f9640d commit a9882c1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ monthlies - Monthly checklist. _Years_ of months.
projects - Project cards.
Looks nice. Has some rounded lines.

remtest - Random test app to explore Remarkable stuff.

tester - A file for playing with stuff.


Next tasks:

Expand Down
2 changes: 1 addition & 1 deletion src/bin/weekly.rs
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ fn render_tracker(
for i in 0..7 {
let l = small_grid_left + rect.height() * i;
let wline = WLine::line(l, rect.bottom_q1(), l, rect.top());
instructions.push_shape(wline)
instructions.push_shape(wline.stroke())
}
instructions.pop_state();
} else {
Expand Down
2 changes: 1 addition & 1 deletion src/shapes/rect.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use std::default::Default;
use crate::pdfutils::point_pair;
use crate::shapes::{RenderAttrsImpl, ToPlainPdfLine};
use crate::units::Unit;
use printpdf::*;
use std::default::Default;

/// A representation of rectangles and operations on them.
#[derive(Debug, Default, Clone)]
Expand Down

0 comments on commit a9882c1

Please sign in to comment.