Adjusted reexports for clarity.
This commit is contained in:
parent
87371ce934
commit
3e600fe775
3 changed files with 3 additions and 4 deletions
|
|
@ -1,5 +1,5 @@
|
|||
use iced::widget::canvas::{
|
||||
self, Cache, Canvas, Cursor, Frame, Geometry, Gradient, Position, Location
|
||||
self, Cache, Canvas, Cursor, Frame, Geometry, Gradient, gradient::Position, gradient::Location
|
||||
};
|
||||
use iced::{
|
||||
executor, Application, Color, Command, Element, Length, Point, Rectangle,
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ use iced::executor;
|
|||
use iced::theme::{self, Theme};
|
||||
use iced::time;
|
||||
use iced::widget::canvas;
|
||||
use iced::widget::canvas::{Cursor, Path, Stroke, Fill, fill, Gradient, stroke};
|
||||
use iced::widget::canvas::{Cursor, Path, Stroke, Fill, fill, Gradient, stroke, gradient::Position};
|
||||
use iced::window;
|
||||
use iced::{
|
||||
Application, Color, Command, Element, Length, Point, Rectangle, Settings,
|
||||
|
|
@ -19,7 +19,6 @@ use iced::{
|
|||
};
|
||||
|
||||
use std::time::Instant;
|
||||
use crate::canvas::Position;
|
||||
|
||||
pub fn main() -> iced::Result {
|
||||
SolarSystem::run(Settings {
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ pub use stroke::{LineCap, LineDash, LineJoin, Stroke};
|
|||
pub use text::Text;
|
||||
|
||||
use crate::{Backend, Primitive, Renderer};
|
||||
pub use crate::gradient::{Gradient, Position, Location};
|
||||
pub use crate::gradient::{self, Gradient};
|
||||
|
||||
use iced_native::layout::{self, Layout};
|
||||
use iced_native::mouse;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue