mirror of
https://github.com/leaders-of-digital-9-task/dicom-viewer.git
synced 2024-11-24 03:03:43 +03:00
remove bug
This commit is contained in:
parent
f9e8dd901c
commit
aea1116ba9
4
index.js
4
index.js
|
@ -39,6 +39,8 @@ app.addEventListener('load', function () {
|
|||
// setTimeout(() => {
|
||||
// console.log(postRuler())
|
||||
// }, 3000)
|
||||
currentframeNumber = 0
|
||||
setFrame(0)
|
||||
app.setTool('Draw')
|
||||
app.setDrawShape('Circle')
|
||||
app.getActiveLayerGroup().getActiveDrawLayer().getKonvaStage().addEventListener('mouseup', () => {
|
||||
|
@ -387,8 +389,6 @@ function receiveMessage(event)
|
|||
}
|
||||
else if (data.type == 'loadSchema') {
|
||||
schema = loadSchema(data.data)
|
||||
currentframeNumber = 0
|
||||
setFrame(0)
|
||||
}
|
||||
else if (data.type == 'setIndex') {
|
||||
setFrame(data.data)
|
||||
|
|
Loading…
Reference in New Issue
Block a user