Remove debugger statements.

This commit is contained in:
James A. Petts 2020-07-01 14:35:29 +01:00
parent 7092fc858e
commit 413f5c9003

View File

@ -175,23 +175,20 @@ export default class DICOMSRDisplayTool extends BaseTool {
// } // }
} }
repositionTextBox(toolData, eventData) { // repositionTextBox(toolData, eventData) {
debugger; // const toolBoundingBoxes = [];
const toolBoundingBoxes = []; // for (let i = 0; i < toolData.length; i++) {
// const toolDataI = toolData[i];
for (let i = 0; i < toolData.length; i++) { // const { textBox } = toolDataI.handles;
const toolDataI = toolData[i]; // const { anchorPoints } = textBox;
const { textBox } = toolDataI.handles; // const boundingBox = _getBoundingBoxFromAnchorPoints(anchorPoints);
const { anchorPoints } = textBox; // // Get the textbox bounding locations.
// // Get the tool extents.
const boundingBox = _getBoundingBoxFromAnchorPoints(anchorPoints); // }
// Get the textbox bounding locations. // }
// Get the tool extents.
debugger;
}
}
renderPolyLine(renderableData, eventData, options) { renderPolyLine(renderableData, eventData, options) {
const { element } = eventData; const { element } = eventData;
@ -216,7 +213,6 @@ export default class DICOMSRDisplayTool extends BaseTool {
renderPoint(renderableData, eventData, options) { renderPoint(renderableData, eventData, options) {
// Render single point as an arrow. // Render single point as an arrow.
debugger;
const { element, image } = eventData; const { element, image } = eventData;
const { rows, columns } = image; const { rows, columns } = image;
const context = getNewContext(eventData.canvasContext.canvas); const context = getNewContext(eventData.canvasContext.canvas);
@ -228,8 +224,6 @@ export default class DICOMSRDisplayTool extends BaseTool {
const xOffset = columns / 10; const xOffset = columns / 10;
const yOffset = rows / 10; const yOffset = rows / 10;
debugger;
renderableData.forEach(points => { renderableData.forEach(points => {
const point = points[0]; // The SCOORD type is POINT so the array length is 1. const point = points[0]; // The SCOORD type is POINT so the array length is 1.
draw(context, context => { draw(context, context => {
@ -240,8 +234,6 @@ export default class DICOMSRDisplayTool extends BaseTool {
y: point.y + yOffset, y: point.y + yOffset,
}); });
debugger;
drawArrow( drawArrow(
context, context,
handleEndCanvas, handleEndCanvas,