kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Fixed problem with not being able to manually scroll after navigating to a tiddler
rodzic
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();
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue