Open JoseMoreville opened 3 years ago
Call:
cornerstone.draw(HTMLElementReference)
CS won't redraw a new state until you either call it or generate an Event. Calling draw()
is easier.
Call:
cornerstone.draw(HTMLElementReference)
CS won't redraw a new state until you either call it or generate an Event. Calling
draw()
is easier.
It didn't work, it's the save as updating the canvas. tried before, and after the code
Prerequisites
Description
I calling the server to provide me annotations if exist to display it in a preview of the case image (thumbnail) What i basically do is to enable the element, and then do an axios call to fetch the data, I iterate until I get the toolstate data and then I add the tool State with
addToolState
. the data is being added according thegetToolState
method but is not being rendered(I tried with update image and resize too).Steps to Reproduce the issue
This is the code i use to render the annotations. I'm using Vue.
Expected behavior: It's expected to show the images in a smaller canvas (thumbnail)
Actual behavior: Data is being stored but not rendered inside of the canvas