Skip to content

Commit

Permalink
Fixes #14, Fixes #13
Browse files Browse the repository at this point in the history
  • Loading branch information
johnshew committed Nov 29, 2020
1 parent ef3d5f0 commit a6e9d67
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![allow(dead_code)]
// #![allow(dead_code)]

use chrono::{DateTime, Duration, Local};
use std::cell::RefCell;
Expand All @@ -20,10 +20,7 @@ use nwg::stretch::{
use nwg::NativeUi;


const PCT_50: D = D::Percent(0.5);
const PCT_100: D = D::Percent(1.0);
const PT_10: D = D::Points(10.0);
const PT_5: D = D::Points(5.0);
const PT_0: D = D::Points(0.0);
const PAD_10: Rect<D> = Rect {
start: PT_10,
Expand All @@ -37,12 +34,6 @@ const PAD_10_TOP_BOTTON: Rect<D> = Rect {
top: PT_10,
bottom: PT_10,
};
const MARGIN: Rect<D> = Rect {
start: PT_5,
end: PT_5,
top: PT_5,
bottom: PT_5,
};

mod graph;
mod stats;
Expand Down

0 comments on commit a6e9d67

Please sign in to comment.