minor tweeks...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-02-13 18:01:46 +04:00
parent c4ddca9416
commit 577a4292cd
2 changed files with 9 additions and 6 deletions

View File

@ -6,8 +6,11 @@
[_] BUG: no drag threshold on excludedElements (TouchSwipe) [_] BUG: no drag threshold on excludedElements (TouchSwipe)
| stalled... | stalled...
[_] 65% general todo [_] 65% general todo
[_] EXPERIMENT: Try using scroll instead of left of .magazine.... [_] % EXPERIMENT: Try using scroll instead of left of .magazine....
| this might improve speed... [_] try and get rid of .scroller
[_] try using the scroll event to see of we reached the limit...
| and move the limit accordingly
[_] BUG: scrool seems to do odd things on refresh...
[_] BUG: loading a magazine with position set to 0 will align it incorrectly. [_] BUG: loading a magazine with position set to 0 will align it incorrectly.
| needs testing with the rewritten fitNPages()... | needs testing with the rewritten fitNPages()...
[_] Editor: might be a good idea to prevent deleting the last page... [_] Editor: might be a good idea to prevent deleting the last page...

View File

@ -146,8 +146,8 @@ $(document).ready(function(){
// expand the templates... // expand the templates...
runMagazineTemplates() runMagazineTemplates()
setCurrentPage(0) //setCurrentPage(0)
//limit_scroll() limit_scroll()
}) })
var SCROLL_LIMIT = 800 * 1.5 var SCROLL_LIMIT = 800 * 1.5
@ -181,7 +181,7 @@ function clear_limits(){
<div class="viewer"> <div class="viewer">
<!--div class='scroller'--> <div class='scroller'>
<div class="magazine" name="PortableMag"> <div class="magazine" name="PortableMag">
<div class="cover page"> <div class="cover page">
@ -543,7 +543,7 @@ function clear_limits(){
</div> </div>
</div> </div>
<!--/div--> </div>
</div> </div>