increment global update for an empty delta, as we do for individual tile update

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I031522227bc332ba80df70ea46deb600047127e6
This commit is contained in:
Caolán McNamara 2024-01-19 16:07:25 +00:00 committed by Michael Meeks
parent c4be02c2b3
commit b4a7acca2d

View file

@ -7391,7 +7391,12 @@ L.CanvasTileLayer = L.Layer.extend({
this._debugLoadUpdate++;
}
else if (img.rawData && !img.isKeyframe)
this._debugLoadDelta++;
{
if (img.rawData.length === 0)
this._debugLoadUpdate++;
else
this._debugLoadDelta++;
}
else if (img.rawData)
this._debugLoadTile++;
}