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

This commit is contained in:
Igor Octaviano authored and GitHub committed 2020-08-07 16:46:02 +02:00
1 parent 4af0933406
commit 381165085a
1 file changed
+2 -2
+2 -2
View File
@@ -288,7 +288,7 @@ export default function init({
// ~~ // ~~
const defaultCsToolsConfig = csToolsConfig || { const defaultCsToolsConfig = csToolsConfig || {
globalToolSyncEnabled: true, globalToolSyncEnabled: true,
showSVGCursors: true, showSVGCursors: false,
autoResizeViewports: false, autoResizeViewports: false,
}; };
@@ -299,7 +299,7 @@ export default function init({
// THIS // THIS
// is a way for extensions that "depend" on this extension to notify it of // 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. // new cornerstone enabled elements so it's commands continue to work.
const handleOhifCornerstoneEnabledElementEvent = function(evt) { const handleOhifCornerstoneEnabledElementEvent = function (evt) {
const { viewportIndex, enabledElement } = evt.detail; const { viewportIndex, enabledElement } = evt.detail;
setEnabledElement(viewportIndex, enabledElement); setEnabledElement(viewportIndex, enabledElement);