add comment
This commit is contained in:
parent
541b6c24b4
commit
40ecc33457
1 changed files with 2 additions and 0 deletions
|
|
@ -165,6 +165,8 @@ async function createPuzzleTileBitmaps(img, tiles, info) {
|
||||||
ctx.stroke(path)
|
ctx.stroke(path)
|
||||||
ctx.restore()
|
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)
|
ctx2.clearRect(0, 0, tileDrawSize, tileDrawSize)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue