summaryrefslogtreecommitdiffstats
path: root/winit/src/application.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-02-22 09:21:19 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-02-22 09:21:19 +0100
commitf693aa4bc4d9994d1dce81d4ec7ce0b15dfc1ee2 (patch)
tree7ad34fff0314b61f3dd75984349d9a803b80e0de /winit/src/application.rs
parentd6454b5d0ca4c3812d1614805de1094638153df1 (diff)
downloadiced-f693aa4bc4d9994d1dce81d4ec7ce0b15dfc1ee2.tar.gz
iced-f693aa4bc4d9994d1dce81d4ec7ce0b15dfc1ee2.tar.bz2
iced-f693aa4bc4d9994d1dce81d4ec7ce0b15dfc1ee2.zip
Use `crate::core::Point` instead of prefixing
Diffstat (limited to 'winit/src/application.rs')
-rw-r--r--winit/src/application.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/winit/src/application.rs b/winit/src/application.rs
index 8d0d7456..05a4f070 100644
--- a/winit/src/application.rs
+++ b/winit/src/application.rs
@@ -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();