garrynewman/GWEN — pull request #74 by MathiasPius (2013-07-28 06:09:16+00:00)
Title: Fixed Menus resizing themselves to fit the canvas, based on their position relative to their parents instead of the canvas.

Fixed Menus rendering only as shadows when drawing to a parent with negative Y-coordinates relative to its canvas.

The Menu::Layout function alters the height of the menu to fit the canvas, but uses only the coordinate relative to its parent to check if it fits, instead of the bounds relative to the canvas.

The problem was resolved by using LocalToCanvas() in place of Y() for comparing the position of the menu relative to the canvas.