mirror of
https://github.com/leaders-of-digital-9-task/dicom-viewer.git
synced 2024-11-22 02:16:32 +03:00
add Ruler
This commit is contained in:
parent
db3ecd9685
commit
8b38958aac
2
index.js
2
index.js
|
@ -302,7 +302,7 @@ function receiveMessage(event)
|
||||||
} else if(data.type == "setTool"){
|
} else if(data.type == "setTool"){
|
||||||
if (data.data == "null"){
|
if (data.data == "null"){
|
||||||
app.setTool('Scroll');
|
app.setTool('Scroll');
|
||||||
} else if (data.data == 'Roi' || data.data == 'Circle' || data.data == 'FreeHand'){
|
} else if (data.data == 'Roi' || data.data == 'Circle' || data.data == 'FreeHand' || data.data == 'Ruler'){
|
||||||
app.setTool('Draw');
|
app.setTool('Draw');
|
||||||
app.setDrawShape(data.data);
|
app.setDrawShape(data.data);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user