Center non-negative, finite, boards (#14)

This commit is contained in:
gavin
2018-08-23 02:03:06 +00:00
committed by Gitea
parent 77993e41e8
commit 90cf1723a8
4 changed files with 30 additions and 17 deletions

View File

@@ -4,7 +4,7 @@ const PRESS_RIPPLE = ONE_SECOND / 3;
const DEFAULTS = {
board: Tessellate.BOARD_STYLES.HEX,
style: Tessellate.DRAW_STYLES.FILL,
orientation: Tessellate.TILE_ORIENTATIONS.FLAT,
orientation: Tessellate.ORIENTATION_STYLES.FLAT,
tile: Tessellate.TILE_STYLES.HEX,
};
@@ -107,7 +107,7 @@ class Demo {
drawStyle: Tessellate.DRAW_STYLES.FILL,
tileStyle: Tessellate.TILE_STYLES.CIRCLE,
orientation: Tessellate.TILE_ORIENTATIONS.FLAT,
orientation: Tessellate.ORIENTATION_STYLES.FLAT,
red: 255,
green: 127,