aboutsummaryrefslogtreecommitdiff
path: root/src/app.rs
diff options
context:
space:
mode:
authorAkshay <[email protected]>2021-04-02 06:35:11 +0100
committerAkshay <[email protected]>2021-04-02 06:35:11 +0100
commit827e54124f03fd11d497caa8213ca583f480b982 (patch)
treea28ce9067658c94b157c7e8e2c2f98f64e54aef8 /src/app.rs
parentdc902a1cd718770bffcecfa4fffa8142db37a7e6 (diff)
add DottedList type, fix `cons` finally
Diffstat (limited to 'src/app.rs')
-rw-r--r--src/app.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/app.rs b/src/app.rs
index 16a4433..84869a3 100644
--- a/src/app.rs
+++ b/src/app.rs
@@ -369,12 +369,6 @@ impl<'ctx> AppState<'ctx> {
369 self.canvas.fill_rect(rect!(canvas_pt.x(), canvas_pt.y(), 2, 2)).unwrap(); 369 self.canvas.fill_rect(rect!(canvas_pt.x(), canvas_pt.y(), 2, 2)).unwrap();
370 } 370 }
371 371
372 // self.canvas
373 // .set_draw_color(if self.active_color { WHITE } else { BLACK });
374 // self.canvas
375 // .fill_rect(Rect::from_center(primary.area().center(), 12, 12))
376 // .unwrap();
377
378 let mouse_coords = if let Some((x, y)) = self.idx_at_coord(self.mouse) { 372 let mouse_coords = if let Some((x, y)) = self.idx_at_coord(self.mouse) {
379 format!("{:3}, {:3}", x + 1, y + 1) 373 format!("{:3}, {:3}", x + 1, y + 1)
380 } else { 374 } else {