mirror of
https://github.com/flynx/PortableMag.git
synced 2025-11-03 13:30:19 +00:00
fixed the odd bug (see todo for details)...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
e0e441c961
commit
5772c88923
19
TODO.otl
19
TODO.otl
@ -1,17 +1,13 @@
|
|||||||
[_] 33% Priority work
|
[_] 34% Priority work
|
||||||
[_] 0% TouchSwipe issues...
|
[_] 0% TouchSwipe issues...
|
||||||
[_] BUG: swipe-back does not cancel a swipe... (TouchSwipe)
|
[_] BUG: swipe-back does not cancel a swipe... (TouchSwipe)
|
||||||
| ...unless the finger is return to within the threshold of the
|
| ...unless the finger is return to within the threshold of the
|
||||||
| touchdown point.
|
| touchdown point.
|
||||||
[_] BUG: no drag threshold on excludedElements (TouchSwipe)
|
[_] BUG: no drag threshold on excludedElements (TouchSwipe)
|
||||||
| stalled...
|
| stalled...
|
||||||
[_] 78% general todo
|
[_] 82% general todo
|
||||||
[_] add in-page live templates...
|
[_] add in-page live templates...
|
||||||
| elements that will get generated content, like page numbers etc.
|
| 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...
|
[_] magazine loader and data format...
|
||||||
| this is simple, just use a restyled magazine viewer...
|
| this is simple, just use a restyled magazine viewer...
|
||||||
[_] 0% populate an example issue
|
[_] 0% populate an example issue
|
||||||
@ -25,6 +21,17 @@
|
|||||||
| e.g. setting "shown"/"hidden" classes in HTML and adding
|
| e.g. setting "shown"/"hidden" classes in HTML and adding
|
||||||
| something like a page reset that will restore the default state,
|
| something like a page reset that will restore the default state,
|
||||||
| rather than the current "hideLayers"
|
| 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] make corners clickable for bookmarking...
|
||||||
[X] bookmark active zone in upper-right corner of page...
|
[X] bookmark active zone in upper-right corner of page...
|
||||||
[X] SVG icons and logo...
|
[X] SVG icons and logo...
|
||||||
|
|||||||
10
index.html
10
index.html
@ -115,15 +115,19 @@ $(document).ready(function(){
|
|||||||
// hide the splash screen...
|
// hide the splash screen...
|
||||||
$(window).one('webkitTransitionEnd oTransitionEnd msTransitionEnd transitionend',
|
$(window).one('webkitTransitionEnd oTransitionEnd msTransitionEnd transitionend',
|
||||||
function(){
|
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(){
|
setTimeout(function(){
|
||||||
//updateView()
|
//updateView()
|
||||||
setCurrentPage()
|
setCurrentPage()
|
||||||
}, 200)
|
}, 300)
|
||||||
// hide the splash...
|
// hide the splash...
|
||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
$('.splash').fadeOut()
|
$('.splash').fadeOut()
|
||||||
}, 200)
|
}, 350)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user