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
+2
View File
@@ -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::*;
+3 -5
View File
@@ -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::*;