craftyjs/Crafty — pull request #841 by starwed (2014-12-07 18:58:31+00:00)
Title: Make mobile act more like standard mode

Currently we don't handle the offset and positioning of cr-stage on mobile the same way we do in regular/desktop mode. As far as I can see there's no actual reason for this. (Perhaps it's a legacy from when mobile was forced into fullscreen mode?)

This patch handles the offset/position regardless of whether we're on mobile or not. This fixes some graphical issues with Chrome/Firefox on Android, but I don't have an iOS device handy to test. It should hopefully also fix an issue with touche coordinates being registered incorrectly.