Tweaked scroll link beacause of strange behaviors on bottom of the document
This commit is contained in:
parent
bce52d8a9a
commit
c5a1497374
@ -194,9 +194,9 @@ define([
|
|||||||
lastPreviewScrollTop = previewScrollTop + now;
|
lastPreviewScrollTop = previewScrollTop + now;
|
||||||
},
|
},
|
||||||
done: function() {
|
done: function() {
|
||||||
_.defer(function() {
|
setTimeout(function() {
|
||||||
isPreviewMoving = false;
|
isPreviewMoving = false;
|
||||||
});
|
}, 100);
|
||||||
},
|
},
|
||||||
}).dequeue('scrollLinkFx');
|
}).dequeue('scrollLinkFx');
|
||||||
}
|
}
|
||||||
@ -239,9 +239,9 @@ define([
|
|||||||
lastEditorScrollTop = editorScrollTop + now;
|
lastEditorScrollTop = editorScrollTop + now;
|
||||||
},
|
},
|
||||||
done: function() {
|
done: function() {
|
||||||
_.defer(function() {
|
setTimeout(function() {
|
||||||
isEditorMoving = false;
|
isEditorMoving = false;
|
||||||
});
|
}, 100);
|
||||||
},
|
},
|
||||||
}).dequeue('scrollLinkFx');
|
}).dequeue('scrollLinkFx');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user