obiot/melonJS — Issue #35: Incorrect coordinates for MouseEvent if container div not top-left
Author: tross78
Created: 2012-01-16 06:27:57+00:00
State: open

It seems incorrect coordinates are given to a GUI_Object if the div containing the app isn't top-left.

For example, if the Canvas is further down the page, a MouseEvent on GUI_Object will have a Y value of -200.