cinera_pre.js: Equalise auto-scroll gatherability
This commit is contained in:
parent
4ba03f9338
commit
2d26562301
|
@ -282,6 +282,7 @@ function ScrollTo(Element, ScrollPos, StickyObscuringElement) {
|
||||||
if(ScrollY < Ceiling)
|
if(ScrollY < Ceiling)
|
||||||
{
|
{
|
||||||
if(ScrollY < 0) { ScrollY = -ScrollY; }
|
if(ScrollY < 0) { ScrollY = -ScrollY; }
|
||||||
|
GatherableHeight -= Ceiling;
|
||||||
if(ScrollY <= GatherableHeight)
|
if(ScrollY <= GatherableHeight)
|
||||||
{
|
{
|
||||||
DesiredScroll = YOffsetFromPage - Ceiling;
|
DesiredScroll = YOffsetFromPage - Ceiling;
|
||||||
|
|
Loading…
Reference in New Issue