more digging...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-02-18 18:33:38 +04:00
parent 865261125f
commit a63a401cc5

View File

@ -118,6 +118,7 @@ $(document).ready(function(){
})
.on('mousemove touchmove', function(evt){
logger.log('[drag]')
//var t = evt.timeStamp || Date.now();
evt.preventDefault()
if(_x == null){
@ -125,7 +126,6 @@ $(document).ready(function(){
}
var x = evt.clientX
if(scrolling && Math.abs(x-_x) > 6){
//logger.log('[drag]')
shiftMagazineTo(getMagazineShift() + (x - _x))
}
_x = x