OHIF-303: Disable SVG Cursors for tools (#1979)

This commit is contained in:
Igor Octaviano 2020-08-07 11:46:02 -03:00 committed by GitHub
parent 4af0933406
commit 381165085a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -288,7 +288,7 @@ export default function init({
// ~~
const defaultCsToolsConfig = csToolsConfig || {
globalToolSyncEnabled: true,
showSVGCursors: true,
showSVGCursors: false,
autoResizeViewports: false,
};
@ -299,7 +299,7 @@ export default function init({
// THIS
// is a way for extensions that "depend" on this extension to notify it of
// new cornerstone enabled elements so it's commands continue to work.
const handleOhifCornerstoneEnabledElementEvent = function(evt) {
const handleOhifCornerstoneEnabledElementEvent = function (evt) {
const { viewportIndex, enabledElement } = evt.detail;
setEnabledElement(viewportIndex, enabledElement);