OHIF-303: Disable SVG Cursors for tools (#1979)
This commit is contained in:
parent
4af0933406
commit
381165085a
@ -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);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user