LT-404: Fixing Target undefined label when start creating a measurement
This commit is contained in:
1 parent
20bd3f443c
commit
5c316bf334
3 files changed
+57
-55
No files matched your search
@@ -253,7 +253,7 @@ import { toolManager } from 'meteor/ohif:viewerbase';
|
||||
// Draw the text
|
||||
if (data.measurementNumber) {
|
||||
|
||||
var boundingBox = cornerstoneTools.drawTextBox(context, 'Non-Target ' + data.measurementNumber, canvasTextLocation.x, canvasTextLocation.y, color);
|
||||
var boundingBox = cornerstoneTools.drawTextBox(context, `Non-Target ${data.measurementNumber}`, canvasTextLocation.x, canvasTextLocation.y, color);
|
||||
data.handles.textBox.boundingBox = boundingBox;
|
||||
|
||||
OHIF.cornerstone.repositionTextBox(eventData, data);
|
||||
|
||||
Reference in new issue
Block a user