Fixing broken textBox dragging
This commit is contained in:
parent
f70d99a5c2
commit
10a6b2f094
@ -214,6 +214,29 @@ const CornerstoneToolMeasurement = new SimpleSchema([
|
||||
}
|
||||
]);
|
||||
|
||||
const CornerstoneHandleBoundingBoxSchema = new SimpleSchema({
|
||||
width: {
|
||||
type: Number,
|
||||
label: 'Width',
|
||||
decimal: true
|
||||
},
|
||||
height: {
|
||||
type: Number,
|
||||
label: 'Height',
|
||||
decimal: true
|
||||
},
|
||||
left: {
|
||||
type: Number,
|
||||
label: 'Left',
|
||||
decimal: true
|
||||
},
|
||||
top: {
|
||||
type: Number,
|
||||
label: 'Top',
|
||||
decimal: true
|
||||
}
|
||||
});
|
||||
|
||||
const CornerstoneHandleSchema = new SimpleSchema({
|
||||
x: {
|
||||
type: Number,
|
||||
@ -267,6 +290,11 @@ const CornerstoneHandleSchema = new SimpleSchema({
|
||||
defaultValue: false,
|
||||
optional: true
|
||||
},
|
||||
boundingBox: {
|
||||
type: CornerstoneHandleBoundingBoxSchema,
|
||||
label: 'Bounding Box',
|
||||
optional: true
|
||||
},
|
||||
index: { // TODO: Remove 'index' from bidirectionalTool since it's useless
|
||||
type: Number,
|
||||
optional: true
|
||||
|
||||
Loading…
Reference in New Issue
Block a user