Code review comment for lp://staging/~azzar1/unity/inverse-mouse-area-previews

Revision history for this message
MichaƂ Sawicz (saviq) wrote :

> I can remove the yellow Rectangle but without MouseArea how can I test
> that clicking outside the preview emits the close signal?

The InverseMouseArea will take care of that, you don't need the MouseArea, you just need to try and deliver a click to the preview's dismissArea.

mouseClick(preview.dismissArea, 1, 1)

review: Needs Fixing

« Back to merge proposal