add comment

This commit is contained in:
Zutatensuppe 2021-04-17 17:42:56 +02:00
parent 541b6c24b4
commit 40ecc33457

View file

@ -165,6 +165,8 @@ async function createPuzzleTileBitmaps(img, tiles, info) {
ctx.stroke(path)
ctx.restore()
// Draw the path (border) in the color of the
// surrounding tile, this makes the tile look more realistic
// -----------------------------------------------------------
// -----------------------------------------------------------
ctx2.clearRect(0, 0, tileDrawSize, tileDrawSize)