Resizable

This commit is contained in:
Devine Lu Linvega
2019-02-21 15:13:29 +09:00
parent e4984a9df1
commit b506939ea8
5 changed files with 24 additions and 10 deletions

View File

@@ -10,7 +10,7 @@ function Renderer (dotgrid) {
this.context = this.el.getContext('2d')
this.showExtras = true
this.scale = 2
this.scale = window.devicePixelRatio
this.start = function () {
this.update()