Document party 2 (#4106)

@mikayla-maki and @nathansobo's contributions

Release Notes:

- N/A
This commit is contained in:
Mikayla Maki
2024-01-17 14:33:52 -08:00
committed by GitHub
14 changed files with 193 additions and 43 deletions
-5
View File
@@ -11,7 +11,6 @@ use core_graphics::{
geometry::{CGPoint, CGRect, CGSize},
};
use objc::{msg_send, sel, sel_impl};
use std::any::Any;
use uuid::Uuid;
#[derive(Debug)]
@@ -154,10 +153,6 @@ impl PlatformDisplay for MacDisplay {
]))
}
fn as_any(&self) -> &dyn Any {
self
}
fn bounds(&self) -> Bounds<GlobalPixels> {
unsafe {
let native_bounds = CGDisplayBounds(self.0);