From 577a4292cd4d2334e3bfc24e920bf4accdddb820 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 13 Feb 2013 18:01:46 +0400 Subject: [PATCH] minor tweeks... Signed-off-by: Alex A. Naanou --- TODO.otl | 7 +++++-- layout.html | 8 ++++---- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/TODO.otl b/TODO.otl index 12ee923..295ad67 100755 --- a/TODO.otl +++ b/TODO.otl @@ -6,8 +6,11 @@ [_] BUG: no drag threshold on excludedElements (TouchSwipe) | stalled... [_] 65% general todo - [_] EXPERIMENT: Try using scroll instead of left of .magazine.... - | this might improve speed... + [_] % EXPERIMENT: Try using scroll instead of left of .magazine.... + [_] 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. | needs testing with the rewritten fitNPages()... [_] Editor: might be a good idea to prevent deleting the last page... diff --git a/layout.html b/layout.html index b7ac463..398b4fa 100755 --- a/layout.html +++ b/layout.html @@ -146,8 +146,8 @@ $(document).ready(function(){ // expand the templates... runMagazineTemplates() - setCurrentPage(0) - //limit_scroll() + //setCurrentPage(0) + limit_scroll() }) var SCROLL_LIMIT = 800 * 1.5 @@ -181,7 +181,7 @@ function clear_limits(){
- +
@@ -543,7 +543,7 @@ function clear_limits(){
- +