diff --git a/TODO.otl b/TODO.otl index e7d5313..891010a 100755 --- a/TODO.otl +++ b/TODO.otl @@ -1,17 +1,13 @@ -[_] 33% Priority work +[_] 34% Priority work [_] 0% TouchSwipe issues... [_] BUG: swipe-back does not cancel a swipe... (TouchSwipe) | ...unless the finger is return to within the threshold of the | touchdown point. [_] BUG: no drag threshold on excludedElements (TouchSwipe) | stalled... - [_] 78% general todo + [_] 82% general todo [_] add in-page live templates... | elements that will get generated content, like page numbers etc. - [_] BUG: initial load on android does not center on the correct page... - | for some odd reason only one of the first and second pages are opened - | correctly, any other page results in showing the second page and any - | click focuses the correct page... [_] magazine loader and data format... | this is simple, just use a restyled magazine viewer... [_] 0% populate an example issue @@ -25,6 +21,17 @@ | e.g. setting "shown"/"hidden" classes in HTML and adding | something like a page reset that will restore the default state, | rather than the current "hideLayers" + [X] BUG: initial load on android does not center on the correct page... + | for some odd reason only one of the first and second pages are opened + | correctly, any other page results in showing the second page and any + | click focuses the correct page... + | + | CAUSE: + | the cause for this turned out to be the fact that the page is loaded + | allot faster than it is full alligned and rendered on android, so + | a fix for this is to set the page some 300ms later... + | + | XXX find a better solution! [X] make corners clickable for bookmarking... [X] bookmark active zone in upper-right corner of page... [X] SVG icons and logo... diff --git a/index.html b/index.html index 824b5cf..31a0299 100755 --- a/index.html +++ b/index.html @@ -115,15 +115,19 @@ $(document).ready(function(){ // hide the splash screen... $(window).one('webkitTransitionEnd oTransitionEnd msTransitionEnd transitionend', function(){ - // XXX try and fix the android bug... + // NOTE: this will fix a bug on android -- the pages appear + // to rendering quite a bit longer than loading, so on + // loadState() above the current page is set well before + // it is alligned correctly, so this will reset the + // current page after everything is aligned... setTimeout(function(){ //updateView() setCurrentPage() - }, 200) + }, 300) // hide the splash... setTimeout(function(){ $('.splash').fadeOut() - }, 200) + }, 350) }) })