Simplify imports of clock example
This commit is contained in:
parent
91af1c5ed6
commit
7ca4e7c5ba
1 changed files with 2 additions and 2 deletions
|
|
@ -1,12 +1,12 @@
|
||||||
|
use iced::alignment;
|
||||||
use iced::mouse;
|
use iced::mouse;
|
||||||
use iced::time::{self, milliseconds};
|
use iced::time::{self, milliseconds};
|
||||||
use iced::widget::canvas::{Cache, Geometry, LineCap, Path, Stroke, stroke};
|
use iced::widget::canvas::{Cache, Geometry, LineCap, Path, Stroke, stroke};
|
||||||
use iced::widget::{canvas, container};
|
use iced::widget::{canvas, container};
|
||||||
use iced::{
|
use iced::{
|
||||||
Degrees, Element, Fill, Font, Point, Rectangle, Renderer, Size,
|
Degrees, Element, Fill, Font, Point, Radians, Rectangle, Renderer, Size,
|
||||||
Subscription, Theme, Vector,
|
Subscription, Theme, Vector,
|
||||||
};
|
};
|
||||||
use iced::{Radians, alignment};
|
|
||||||
|
|
||||||
pub fn main() -> iced::Result {
|
pub fn main() -> iced::Result {
|
||||||
tracing_subscriber::fmt::init();
|
tracing_subscriber::fmt::init();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue