diff options
| author | 2020-04-09 00:34:37 +0200 | |
|---|---|---|
| committer | 2020-04-09 00:34:37 +0200 | |
| commit | d51b501d2f5170f79c953c63e0532490882e9ca9 (patch) | |
| tree | fc94aeaca9abae4e63dfda286d5e5b3f25711402 /examples/clock/src | |
| parent | 703beae05ec2988b9a6b15e84291ec818b37bf5b (diff) | |
| parent | 6e7769b65dfda1ab748eb26f8832fd32714f6fc1 (diff) | |
| download | iced-d51b501d2f5170f79c953c63e0532490882e9ca9.tar.gz iced-d51b501d2f5170f79c953c63e0532490882e9ca9.tar.bz2 iced-d51b501d2f5170f79c953c63e0532490882e9ca9.zip  | |
Merge pull request #267 from robjtede/improve/canvas-cache-default
impl default for canvas cache
Diffstat (limited to 'examples/clock/src')
| -rw-r--r-- | examples/clock/src/main.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/clock/src/main.rs b/examples/clock/src/main.rs index 88f8322c..a85a964c 100644 --- a/examples/clock/src/main.rs +++ b/examples/clock/src/main.rs @@ -29,7 +29,7 @@ impl Application for Clock {          (              Clock {                  now: chrono::Local::now().into(), -                clock: canvas::layer::Cache::new(), +                clock: Default::default(),              },              Command::none(),          )  | 
