add svaeDraws req

This commit is contained in:
Firesieht 2022-11-02 21:11:39 +03:00
parent e6abad5510
commit a5d876ea3a

View File

@ -377,7 +377,7 @@ function receiveMessage(event)
createDraws(data)
}
else if (data.type == 'getDraws') {
parent.postMessage({'type': 'returnDraws', data: postDraws()}, "*")
parent.postMessage({'type': 'saveDraws', data: postDraws()}, "*")
}
else if (data.type == 'deleteSelected') {
app.getActiveLayerGroup().getActiveDrawLayer().getKonvaStage().find('#'+findActive())[0].destroy()