1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 03:57:21 +00:00

Fixed problem with not being able to manually scroll after navigating to a tiddler

This commit is contained in:
Jeremy Ruston 2013-06-10 21:07:23 +01:00
parent 3cda8758ae
commit d6654c4a0b

View File

@ -102,7 +102,9 @@ PageScroller.prototype.scrollIntoView = function(event) {
}
t = $tw.utils.slowInSlowOut(t);
window.scrollTo(scrollPosition.x + (endX - scrollPosition.x) * t,scrollPosition.y + (endY - scrollPosition.y) * t);
if(t < 1) {
self.idRequestFrame = self.requestAnimationFrame.call(window,drawFrame);
}
};
drawFrame();
}