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({
|
const CornerstoneHandleSchema = new SimpleSchema({
|
||||||
x: {
|
x: {
|
||||||
type: Number,
|
type: Number,
|
||||||
@ -267,6 +290,11 @@ const CornerstoneHandleSchema = new SimpleSchema({
|
|||||||
defaultValue: false,
|
defaultValue: false,
|
||||||
optional: true
|
optional: true
|
||||||
},
|
},
|
||||||
|
boundingBox: {
|
||||||
|
type: CornerstoneHandleBoundingBoxSchema,
|
||||||
|
label: 'Bounding Box',
|
||||||
|
optional: true
|
||||||
|
},
|
||||||
index: { // TODO: Remove 'index' from bidirectionalTool since it's useless
|
index: { // TODO: Remove 'index' from bidirectionalTool since it's useless
|
||||||
type: Number,
|
type: Number,
|
||||||
optional: true
|
optional: true
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user