fix the debug tile-border rectangles in red
Signed-off-by: Dennis Francis <dennis.francis@collabora.com> Change-Id: I93b950a5f903ed5ed2713a518911f8e37eadddfc
This commit is contained in:
parent
136f20b386
commit
34578ce3fd
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ L.TileSectionManager = L.Class.extend({
|
|||
if (this._layer._debug)
|
||||
{
|
||||
canvasCtx.strokeStyle = 'rgba(255, 0, 0, 0.5)';
|
||||
canvasCtx.strokeRect(tile.coords.x, tile.coords.y, 256, 256);
|
||||
canvasCtx.strokeRect(tile.coords.x - paneBounds.min.x, tile.coords.y - paneBounds.min.y, 256, 256);
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue