diff options
| -rwxr-xr-x | history.txt | 1 | ||||
| -rw-r--r-- | morphic.js | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/history.txt b/history.txt index aefd875..ad8adff 100755 --- a/history.txt +++ b/history.txt @@ -1691,3 +1691,4 @@ ______ * Morphic: Allow triggers to be dragged if so specified (#83) * GUI: select dragged costume * Blocks: eraser symbol for paint editor +* Morphic: ScrollFrame scrollY() fix (fixes #24) @@ -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); |
