Inline empty NSTrackingArea
rect
This commit is contained in:
parent
3ec3f838db
commit
3163366a10
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue