diff options
author | Akshay <[email protected]> | 2021-04-02 06:35:11 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2021-04-02 06:35:11 +0100 |
commit | 827e54124f03fd11d497caa8213ca583f480b982 (patch) | |
tree | a28ce9067658c94b157c7e8e2c2f98f64e54aef8 /src/app.rs | |
parent | dc902a1cd718770bffcecfa4fffa8142db37a7e6 (diff) |
add DottedList type, fix `cons` finally
Diffstat (limited to 'src/app.rs')
-rw-r--r-- | src/app.rs | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -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 { |