Remove inconsistent input module in iced_native

This commit is contained in:
Héctor Ramón Jiménez 2020-04-30 05:04:45 +02:00
parent 137664ca88
commit bb9ccc4f62
20 changed files with 27 additions and 45 deletions

View file

@ -15,12 +15,10 @@ pub use value::Value;
use editor::Editor;
use crate::{
input::{
keyboard,
mouse::{self, click},
},
layout, Clipboard, Element, Event, Font, Hasher, Layout, Length, Point,
Rectangle, Size, Widget,
keyboard, layout,
mouse::{self, click},
Clipboard, Element, Event, Font, Hasher, Layout, Length, Point, Rectangle,
Size, Widget,
};
use std::u32;
@ -739,7 +737,7 @@ fn find_cursor_position<Renderer: self::Renderer>(
}
mod platform {
use crate::input::keyboard;
use crate::keyboard;
pub fn is_jump_modifier_pressed(
modifiers: keyboard::ModifiersState,