Reworked the resizer

This commit is contained in:
Devine Lu Linvega
2019-04-22 09:28:31 +09:00
parent 64f5853156
commit d4305f306e
4 changed files with 48 additions and 32 deletions

View File

@@ -17,7 +17,6 @@ function Source (dotgrid) {
fs.readFile(paths[0], 'utf-8', (err, data) => {
if (err) { alert('An error ocurred reading the file :' + err.message); return }
dotgrid.tool.replace(JSON.parse(data.toString().trim()))
dotgrid.renderer.update()
})
}