diff --git a/index.html b/index.html index cad3b76..8b71f8b 100644 --- a/index.html +++ b/index.html @@ -95,7 +95,7 @@

DDD Filter applications in the Network

-

+

diff --git a/js/entity.js b/js/entity.js index ef0d9f7..286dcbe 100644 --- a/js/entity.js +++ b/js/entity.js @@ -28,9 +28,9 @@ export class Entity { } draw() { - this.ctx.fillstyle = 'black'; - this.ctx.font = '20px san-serif'; - this.ctx.fillText(this.name, this.x + 10, this.y - 20); + this.ctx.fillStyle = 'black'; + this.ctx.font = '16px Helvetica'; + this.ctx.fillText(this.name, this.x + 20, this.y - 20); this.ctx.drawImage(this.img, this.x, this.y, this.width, this.height); }