mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-28 03:26:40 +03:00
Inline empty NSTrackingArea
rect
This commit is contained in:
parent
3ec3f838db
commit
3163366a10
@ -459,10 +459,9 @@ impl Window {
|
||||
}
|
||||
|
||||
let tracking_area: id = msg_send![class!(NSTrackingArea), alloc];
|
||||
let rect = NSRect::new(NSPoint::new(0., 0.), NSSize::new(0., 0.));
|
||||
let _: () = msg_send![
|
||||
tracking_area,
|
||||
initWithRect: rect
|
||||
initWithRect: NSRect::new(NSPoint::new(0., 0.), NSSize::new(0., 0.))
|
||||
options: NSTrackingMouseMoved | NSTrackingActiveAlways | NSTrackingInVisibleRect
|
||||
owner: native_view
|
||||
userInfo: nil
|
||||
|
Loading…
Reference in New Issue
Block a user