Enable arc example

This commit is contained in:
Héctor Ramón Jiménez 2022-07-27 06:57:49 +02:00
parent 2dbcdba209
commit effa6881f7
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
3 changed files with 7 additions and 4 deletions

View file

@ -6,4 +6,4 @@ edition = "2021"
publish = false
[dependencies]
iced = { path = "../../..", features = ["canvas", "tokio", "debug"] }
iced = { path = "../..", features = ["canvas", "tokio", "debug"] }

View file

@ -1,11 +1,13 @@
use std::{f32::consts::PI, time::Instant};
use iced::executor;
use iced::pure::widget::canvas::{
use iced::widget::canvas::{
self, Cache, Canvas, Cursor, Geometry, Path, Stroke,
};
use iced::pure::{Application, Element};
use iced::{Command, Length, Point, Rectangle, Settings, Subscription, Theme};
use iced::{
Application, Command, Element, Length, Point, Rectangle, Settings,
Subscription, Theme,
};
pub fn main() -> iced::Result {
Arc::run(Settings {