Browse Source

Merge pull request #1390 from ligfx/patch-1

MonoMac: don't write "NSEVENT" to console on every event
pull/1393/head
Nikita Tsukanov 9 years ago
committed by GitHub
parent
commit
7ef1459b11
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      src/OSX/Avalonia.MonoMac/PlatformThreadingInterface.cs

3
src/OSX/Avalonia.MonoMac/PlatformThreadingInterface.cs

@ -66,11 +66,10 @@ namespace Avalonia.MonoMac
var ev = app.NextEvent(NSEventMask.AnyEvent, NSDate.DistantFuture, NSRunLoop.NSDefaultRunLoopMode, true);
if (ev != null)
{
Console.WriteLine("NSEVENT");
app.SendEvent(ev);
ev.Dispose();
}
}
}
}
}
}

Loading…
Cancel
Save