diff --git a/TODO.otl b/TODO.otl index 2eaae91..ac0f2bf 100755 --- a/TODO.otl +++ b/TODO.otl @@ -5,7 +5,7 @@ | touchdown point. [_] BUG: no drag threshold on excludedElements (TouchSwipe) | stalled... - [_] 81% general todo + [_] 82% general todo [_] magazine loader and data format... | this is simple, just use a restyled magazine viewer... [_] 0% populate an example issue @@ -19,6 +19,7 @@ | 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] SVG icons and logo... [X] 100% bookmarks [X] add next/prev bookmark actions [X] #bookmark anchor diff --git a/index.html b/index.html index 456e071..3610e65 100755 --- a/index.html +++ b/index.html @@ -41,7 +41,8 @@ $(document).ready(function(){ $('.viewer') .swipe({ swipeStatus: swipeHandler, - // XXX change this to pinch... + + // XXX these get called instead of pinches... swipeUp: function(event, direction, distance, duration, fingerCount){ if(fingerCount == 2){ toggleBookmark() @@ -49,7 +50,7 @@ $(document).ready(function(){ togglePageView() } }, - // XXX change this to pinch... + // XXX these get called instead of pinches... swipeDown: function(event, direction, distance, duration, fingerCount){ if(fingerCount == 2){ toggleBookmark() @@ -58,6 +59,8 @@ $(document).ready(function(){ } }, + + // XXX for some reasons these lose the competition with swipes... pinchIn: function(event, direction, distance, duration, fingerCount, pinchZoom) { if(pinchZoom < distance){ return @@ -66,6 +69,7 @@ $(document).ready(function(){ togglePageView('on') } }, + // XXX for some reasons these lose the competition with swipes... pinchOut: function(event, direction, distance, duration, fingerCount, pinchZoom) { if(pinchZoom < distance){ return