Typo in the stopping comparison condition.

This commit is contained in:
Aiosa 2023-01-28 14:08:00 +01:00
parent 947109718c
commit 81d86570da

View File

@ -1665,7 +1665,7 @@ $.extend($.TiledImage.prototype, $.EventSource.prototype, /** @lends OpenSeadrag
function completionCallback() { function completionCallback() {
stopper--; stopper--;
if (stopper > 0) { if (stopper >= 0) {
tile.loading = false; tile.loading = false;
tile.loaded = true; tile.loaded = true;
tile.hasTransparency = _this.source.hasTransparency( tile.hasTransparency = _this.source.hasTransparency(