mirror of
https://github.com/leaders-of-digital-9-task/dicom-viewer.git
synced 2024-11-24 03:03:43 +03:00
add svaeDraws req
This commit is contained in:
parent
e6abad5510
commit
a5d876ea3a
2
index.js
2
index.js
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user