WebViewer Version: 11.2.0
Please give a brief summary of your issue:
Was previously using this code snippet to update the color of the highlights made with the text popup highlight button on version 10.12. Once updating to version 11.2.0 it stopped working, I’ve looked in the documentation to try to resolve this issue, but the examples I tried did not resolve my issue.
documentViewer.getTool('AnnotationCreateTextHighlight').setStyles(() => ({
StrokeColor: new Annotations.Color(255, 255, 0),
}));