Skip to content

Commit 4370978

Browse files
author
Josh Lory
committed
Code review feedback
1 parent 45697b6 commit 4370978

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/subtype.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ module.exports = class Subtype extends EventEmitter {
173173
// Draw the tile.
174174
if (!TILE_SHAPES[tile]) {
175175
const adjacentToPath = tile !== '00000';
176+
// Any block with 2, 3 or 4 orthogonal paths.
176177
const innerCorner = adjacentToPath && tile.split('1').length > 2;
177178

178179
// We have an empty square. Handle it differently based on skin.

0 commit comments

Comments
 (0)