From e51a0ed7188b8361234a99781cb1d3c8ef7de62c Mon Sep 17 00:00:00 2001 From: jmoenig Date: Tue, 30 Apr 2013 15:57:41 +0200 Subject: Fixed #24 --- morphic.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'morphic.js') diff --git a/morphic.js b/morphic.js index bd54d86..436edea 100644 --- a/morphic.js +++ b/morphic.js @@ -8705,6 +8705,9 @@ ScrollFrameMorph.prototype.scrollY = function (steps) { } if (newY + ch < b) { newY = b - ch; + if (newY > t) { + newY = t; + } } if (newY !== ct) { this.contents.setTop(newY); -- cgit v1.3.1