1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-10-31 23:53:00 +00:00

Lots of tweaks to list view animations

There's a regression in that navigation animations are currently not
working
This commit is contained in:
Jeremy Ruston
2012-11-03 12:34:36 +00:00
parent 921162ccdf
commit 5443c8243a
12 changed files with 140 additions and 220 deletions

View File

@@ -30,8 +30,7 @@ Scroller.prototype.cancel = function() {
};
/*
Smoothly scroll an element back into view if needed
element: element or clientrect object
Smoothly scroll an element into view if needed
*/
Scroller.prototype.scrollIntoView = function(element) {
var elementBounds = element instanceof HTMLElement ? $tw.utils.getBoundingPageRect(element) : element,