Skip to content

Commit

Permalink
Merge pull request #936 from kevinleedrum/roi-x-offset
Browse files Browse the repository at this point in the history
Add 10px x-offset to ROI textboxes
  • Loading branch information
dannyrb authored May 21, 2019
2 parents 7fd4302 + 28f7835 commit 193030e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/tools/annotation/CircleRoiTool.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export default class CircleRoiTool extends BaseAnnotationTool {
};

draw(newContext, context => {
// If we have tool data for this element - iterate over each set and draw it
// If we have tool data for this element, iterate over each set and draw it
for (let i = 0; i < toolData.data.length; i++) {
const data = toolData.data[i];

Expand Down Expand Up @@ -250,7 +250,7 @@ export default class CircleRoiTool extends BaseAnnotationTool {
textBoxAnchorPoints,
color,
lineWidth,
0,
10,
true
);
}
Expand Down
2 changes: 1 addition & 1 deletion src/tools/annotation/EllipticalRoiTool.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ export default class EllipticalRoiTool extends BaseAnnotationTool {
textBoxAnchorPoints,
color,
lineWidth,
0,
10,
true
);
}
Expand Down
2 changes: 1 addition & 1 deletion src/tools/annotation/RectangleRoiTool.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ export default class RectangleRoiTool extends BaseAnnotationTool {
textBoxAnchorPoints,
color,
lineWidth,
0,
10,
true
);
}
Expand Down

0 comments on commit 193030e

Please sign in to comment.