GhostAlgorithm/sugarizer — pull request #3 by llaske (2014-09-06 20:02:20+00:00)
Title: Detect dynamically Mobile version. Refresh suggestion.

I propose a way to detect dynamically Mobile version instead of a static value. It will be easier for you to generate it.

Regarding the Android version, I've got an issue on small screen (tested on Galaxy S4 mini with Android 4.2.2): the palette don't display. When I click on a palette icon, the whole screen become yellow (like the palette color) but no blocks is displayed. I guess it's a refresh issue. I've got plenty of that with Android.

Here the solution I found (show/hide the canvas):
https://github.com/llaske/sugarizer/blob/master/activities/MazeWeb.activity/js/activity.js#L588
https://github.com/llaske/sugarizer/blob/master/activities/Clock.activity/js/activity.js#L83
This solution describe here:
http://www.eccesignum.org/blog/solving-display-refreshredrawrepaint-issues-in-webkit-browsers

Hope it could help.