Move events module up

This commit is contained in:
Nathan Sobo 2023-10-09 21:19:56 -06:00
parent 8074e6b46a
commit 9fe5836240
3 changed files with 5 additions and 5 deletions

View file

@ -3,6 +3,7 @@ mod assets;
mod color; mod color;
mod element; mod element;
mod elements; mod elements;
mod events;
mod executor; mod executor;
mod geometry; mod geometry;
mod image_cache; mod image_cache;
@ -25,6 +26,7 @@ pub use assets::*;
pub use color::*; pub use color::*;
pub use element::*; pub use element::*;
pub use elements::*; pub use elements::*;
pub use events::*;
pub use executor::*; pub use executor::*;
pub use geometry::*; pub use geometry::*;
pub use gpui3_macros::*; pub use gpui3_macros::*;

View file

@ -1,4 +1,3 @@
mod events;
mod keystroke; mod keystroke;
#[cfg(target_os = "macos")] #[cfg(target_os = "macos")]
mod mac; mod mac;
@ -6,9 +5,9 @@ mod mac;
mod test; mod test;
use crate::{ use crate::{
AnyWindowHandle, Bounds, DevicePixels, Executor, Font, FontId, FontMetrics, GlobalPixels, AnyWindowHandle, Bounds, DevicePixels, Event, Executor, Font, FontId, FontMetrics,
GlyphId, Pixels, Point, RenderGlyphParams, RenderImageParams, RenderSvgParams, Result, Scene, GlobalPixels, GlyphId, Pixels, Point, RenderGlyphParams, RenderImageParams, RenderSvgParams,
ShapedLine, SharedString, Size, Result, Scene, ShapedLine, SharedString, Size,
}; };
use anyhow::anyhow; use anyhow::anyhow;
use async_task::Runnable; use async_task::Runnable;
@ -27,7 +26,6 @@ use std::{
sync::Arc, sync::Arc,
}; };
pub use events::*;
pub use keystroke::*; pub use keystroke::*;
#[cfg(target_os = "macos")] #[cfg(target_os = "macos")]
pub use mac::*; pub use mac::*;