chore: import from winit-core instead of the top-level crate
Reproduce with:
find ./src/platform_impl -type f -exec sed -i '' 's/crate::/winit_core::/g' {} \;
find ./src/platform_impl -type f -exec sed -i '' 's/winit_core::platform/crate::platform/g' {} \;
find ./src/platform_impl -type f -exec sed -i '' 's/winit_core::dpi::/dpi::/g' {} \;
cargo +nightly fmt
This commit is contained in:
parent
03c01e038b
commit
c846f67bcb
79 changed files with 428 additions and 417 deletions
|
|
@ -20,11 +20,11 @@ use windows_sys::Win32::UI::WindowsAndMessaging::{
|
|||
RI_MOUSE_BUTTON_2_UP, RI_MOUSE_BUTTON_3_DOWN, RI_MOUSE_BUTTON_3_UP, RI_MOUSE_BUTTON_4_DOWN,
|
||||
RI_MOUSE_BUTTON_4_UP, RI_MOUSE_BUTTON_5_DOWN, RI_MOUSE_BUTTON_5_UP,
|
||||
};
|
||||
use winit_core::event::ElementState;
|
||||
use winit_core::event_loop::DeviceEvents;
|
||||
use winit_core::keyboard::{KeyCode, PhysicalKey};
|
||||
|
||||
use super::scancode_to_physicalkey;
|
||||
use crate::event::ElementState;
|
||||
use crate::event_loop::DeviceEvents;
|
||||
use crate::keyboard::{KeyCode, PhysicalKey};
|
||||
use crate::platform_impl::platform::util;
|
||||
|
||||
#[allow(dead_code)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue