Skip to content

Commit 4845c20

Browse files
committed
TilemapLayer - quibbles
- Removed accidental change
1 parent 11c78f1 commit 4845c20

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tilemap/TilemapLayer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -938,7 +938,7 @@ Phaser.TilemapLayer.prototype.renderDeltaScroll = function (shiftX, shiftY) {
938938
this.context.clearRect(((left * tw) - scrollX), 0, (right - left + 1) * tw, renderH);
939939

940940
var trueTop = Math.floor((0 + scrollY) / th);
941-
var trueBottom = Math.floor((renderH - 1 + scrollY) / th) + 1;
941+
var trueBottom = Math.floor((renderH - 1 + scrollY) / th);
942942
this.renderRegion(scrollX, scrollY, left, trueTop, right, trueBottom);
943943
}
944944
if (top <= bottom)

0 commit comments

Comments
 (0)