FIX: Timeline back button was docking too aggressively

This commit is contained in:
Robin Ward 2016-12-20 13:32:54 -05:00
parent f0f5fbf132
commit 1cbe355c5b

View File

@ -173,8 +173,9 @@ createWidget('timeline-scrollarea', {
showButton = ((before + SCROLLER_HEIGHT - 5) < lastReadTop) ||
(before > (lastReadTop + 25));
// Don't show if at the bottom of the timeline
if (lastReadTop < (SCROLLAREA_HEIGHT - SCROLLER_HEIGHT)) {
if (lastReadTop > (SCROLLAREA_HEIGHT - SCROLLER_HEIGHT)) {
showButton = false;
}