diff --git a/ui/gallery-prototype.js b/ui/gallery-prototype.js index 6a2f3f76..d6381cb4 100755 --- a/ui/gallery-prototype.js +++ b/ui/gallery-prototype.js @@ -11,8 +11,6 @@ $(document).ready(function() { $(document) .keydown(handleKeys) $('.viewer') - // XXX does not work on android... (might need to add tap event handling) - //.gestures({eventHandler: handleGestures}) // XXX this is flaky and breaks some of my code... .swipe({ swipeLeft: nextImage, @@ -71,26 +69,6 @@ function loadImages(json){ -// XXX jquery.gestures handler... -function handleGestures(e){ - switch (e){ - case 'N': - shiftImageUp() - break - case 'S': - shiftImageDown() - break - case 'E': - prevImage() - break - case 'W': - nextImage() - break - } -} - - - function handleImageClick(e) { var cur = $(this) diff --git a/ui/gallery.css b/ui/gallery.css index 0a5f14bb..439d4a94 100755 --- a/ui/gallery.css +++ b/ui/gallery.css @@ -179,6 +179,9 @@ /* XXX need to fix animation with this... */ position: absolute; left: 0px; + /* + zoom: 120%; + */ } .single-image-mode .image:hover { @@ -210,9 +213,15 @@ .wide-view-mode .image { width: 50px; height: 50px; + /* + zoom: 10%; + */ } .wide-view-mode .ribbon { height: 60px; + /* + zoom: 10%; + */ }