public override void RightMouseDown(NSEvent theEvent) { CGPoint p = theEvent.LocationInWindow; ClickArgs.Position = new SKPointI((int)p.X, (int)View.Frame.Height - (int)p.Y); OnDetailPress?.Invoke(this, ClickArgs); }
public override void RightMouseDown(NSEvent theEvent) { ClickArgs.Position = GetPositionFromEvent(theEvent); OnDetailPress?.Invoke(this, ClickArgs); }