cocos2d/cocos2d-html5 — pull request #2312 by Robmaister (2014-10-08 09:39:30+00:00)
Title: Fixed TMX drawing bug

If the current window size isn't the same as the design resolution size, cached canvases will draw at an offset, making parts of the tileset overlap or have giant gaps in them, but only on the X axis.

`locCanvasHeight` factors in `eglViewer._scaleY`, but the X axis has no such factor, so I just multiplied it in directly. This fixes the bug, at least on my system (Windows 8.1, Internet Explorer 11), but it doesn't look like the fix is tied to any specific platform.