Implementing source.load()

This commit is contained in:
Devine Lu Linvega
2019-04-22 10:25:31 +09:00
parent 2b8ddbf764
commit f72547b634
7 changed files with 25 additions and 19 deletions

View File

@@ -213,10 +213,10 @@ function Tool (dotgrid) {
if (type === 'grid') { dotgrid.renderer.toggle() }
if (type === 'screen') { app.toggleFullscreen() }
if (type === 'open') { dotgrid.open() }
if (type === 'save') { dotgrid.save() }
if (type === 'render') { dotgrid.render() }
if (type === 'export') { dotgrid.export() }
if (type === 'open') { dotgrid.source.open() }
if (type === 'save') { dotgrid.source.save() }
if (type === 'render') { dotgrid.source.render() }
if (type === 'export') { dotgrid.source.export() }
}
this.canAppend = function (content, index = this.index) {