mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-10 11:59:58 +00:00
Fixed problem with not being able to manually scroll after navigating to a tiddler
This commit is contained in:
parent
3cda8758ae
commit
d6654c4a0b
@ -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);
|
||||
self.idRequestFrame = self.requestAnimationFrame.call(window,drawFrame);
|
||||
if(t < 1) {
|
||||
self.idRequestFrame = self.requestAnimationFrame.call(window,drawFrame);
|
||||
}
|
||||
};
|
||||
drawFrame();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user