Revert the commit that broke Zed display capabilities (#7326)

This commit is contained in:
Kirill Bulatov 2024-02-03 18:32:56 +02:00 committed by GitHub
parent 06674a21f9
commit 1ab0af2fa3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 37 additions and 50 deletions

View file

@ -175,6 +175,7 @@ pub(crate) trait PlatformWindow: HasWindowHandle + HasDisplayHandle {
fn on_close(&self, callback: Box<dyn FnOnce()>);
fn on_appearance_changed(&self, callback: Box<dyn FnMut()>);
fn is_topmost_for_position(&self, position: Point<Pixels>) -> bool;
fn invalidate(&self);
fn draw(&self, scene: &Scene);
fn sprite_atlas(&self) -> Arc<dyn PlatformAtlas>;