Move events module up
This commit is contained in:
@@ -3,6 +3,7 @@ mod assets;
|
||||
mod color;
|
||||
mod element;
|
||||
mod elements;
|
||||
mod events;
|
||||
mod executor;
|
||||
mod geometry;
|
||||
mod image_cache;
|
||||
@@ -25,6 +26,7 @@ pub use assets::*;
|
||||
pub use color::*;
|
||||
pub use element::*;
|
||||
pub use elements::*;
|
||||
pub use events::*;
|
||||
pub use executor::*;
|
||||
pub use geometry::*;
|
||||
pub use gpui3_macros::*;
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
mod events;
|
||||
mod keystroke;
|
||||
#[cfg(target_os = "macos")]
|
||||
mod mac;
|
||||
@@ -6,9 +5,9 @@ mod mac;
|
||||
mod test;
|
||||
|
||||
use crate::{
|
||||
AnyWindowHandle, Bounds, DevicePixels, Executor, Font, FontId, FontMetrics, GlobalPixels,
|
||||
GlyphId, Pixels, Point, RenderGlyphParams, RenderImageParams, RenderSvgParams, Result, Scene,
|
||||
ShapedLine, SharedString, Size,
|
||||
AnyWindowHandle, Bounds, DevicePixels, Event, Executor, Font, FontId, FontMetrics,
|
||||
GlobalPixels, GlyphId, Pixels, Point, RenderGlyphParams, RenderImageParams, RenderSvgParams,
|
||||
Result, Scene, ShapedLine, SharedString, Size,
|
||||
};
|
||||
use anyhow::anyhow;
|
||||
use async_task::Runnable;
|
||||
@@ -27,7 +26,6 @@ use std::{
|
||||
sync::Arc,
|
||||
};
|
||||
|
||||
pub use events::*;
|
||||
pub use keystroke::*;
|
||||
#[cfg(target_os = "macos")]
|
||||
pub use mac::*;
|
||||
|
||||
Reference in New Issue
Block a user