Enable arc example
This commit is contained in:
parent
2dbcdba209
commit
effa6881f7
3 changed files with 7 additions and 4 deletions
|
|
@ -6,4 +6,4 @@ edition = "2021"
|
|||
publish = false
|
||||
|
||||
[dependencies]
|
||||
iced = { path = "../../..", features = ["canvas", "tokio", "debug"] }
|
||||
iced = { path = "../..", features = ["canvas", "tokio", "debug"] }
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue