Use crate::core::Point instead of prefixing
This commit is contained in:
parent
d6454b5d0c
commit
f693aa4bc4
2 changed files with 4 additions and 4 deletions
|
|
@ -10,7 +10,7 @@ use crate::core::renderer;
|
|||
use crate::core::time::Instant;
|
||||
use crate::core::widget::operation;
|
||||
use crate::core::window;
|
||||
use crate::core::{Event, Size};
|
||||
use crate::core::{Event, Point, Size};
|
||||
use crate::futures::futures;
|
||||
use crate::futures::{Executor, Runtime, Subscription};
|
||||
use crate::graphics::compositor::{self, Compositor};
|
||||
|
|
@ -774,7 +774,7 @@ pub fn run_command<A, C, E>(
|
|||
let position = position
|
||||
.to_logical::<f32>(window.scale_factor());
|
||||
|
||||
crate::core::Point::new(position.x, position.y)
|
||||
Point::new(position.x, position.y)
|
||||
})
|
||||
.ok();
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ use crate::core::mouse;
|
|||
use crate::core::renderer;
|
||||
use crate::core::widget::operation;
|
||||
use crate::core::window;
|
||||
use crate::core::Size;
|
||||
use crate::core::{Point, Size};
|
||||
use crate::futures::futures::channel::mpsc;
|
||||
use crate::futures::futures::{task, Future, StreamExt};
|
||||
use crate::futures::{Executor, Runtime, Subscription};
|
||||
|
|
@ -1003,7 +1003,7 @@ fn run_command<A, C, E>(
|
|||
window.raw.scale_factor(),
|
||||
);
|
||||
|
||||
crate::core::Point::new(position.x, position.y)
|
||||
Point::new(position.x, position.y)
|
||||
})
|
||||
.ok();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue