View in #ohif on Slack
@Ali_Habibi: Hi
I want when I draw a rectangle, it cannot be resized or moved. how can do that?
@Alireza_Sedghi: maybe you are not enabling it
toolGroup.setToolEnabled
toolGroup.setToolActive
@Rod_Fitzsimmons_Frey: Do you mean it currently cannot be resized or moved? Or that is the behaviour you want?
@Ali_Habibi: the behaviour that i want @Rod_Fitzsimmons_Frey
I want it not to resize or move.
@Alireza_Sedghi @Rod_Fitzsimmons_Frey
@Rod_Fitzsimmons_Frey: So try setToolEnabled but with false
after you create it
@Ali_Habibi: Can you tell me in which ohif file I can do this?
@Rod_Fitzsimmons_Frey
@Rod_Fitzsimmons_Frey: no I can’t, I don’t know anything about ohif.
@Ali_Habibi: Thanks
@Jason_Hostetter: See: https://www.cornerstonejs.org/live-examples/annotationtoolmodes
@Ali_Habibi: Thank you very much for your help and it was resolved.
@Jason_Hostetter