mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-08-03 04:13:49 +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);
|
t = $tw.utils.slowInSlowOut(t);
|
||||||
window.scrollTo(scrollPosition.x + (endX - scrollPosition.x) * t,scrollPosition.y + (endY - scrollPosition.y) * 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();
|
drawFrame();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user