julianstorer/JUCE — pull request #21 by matok (2014-12-04 16:39:05+00:00)
Title: Fixed coords translation in NSViewComponentPeer

Hi Jules,

I've encountered a bug in our After Effects plugin. When some window partially overlaps the main window, mouse click events in certain area above the overlapping window are not being triggered. It is caused by incorrect translation from JUCE coords (with origin in top-left corner) to NSView coordinates with origin in bottom-left corner. Due to this a wrong point is passed to isWindowAtPoint method which returns false afterwards. I'm not sure whether I correctly fixed this but at least I wanted to inform you about this issue.

Cheers,

Martin