This commit is contained in:
Ibrahim 2024-10-04 12:27:43 -04:00
parent 327f2cb1cf
commit 0326496c47
3 changed files with 8 additions and 7 deletions

View File

@ -316,7 +316,7 @@ window.config = {
text: 'You can zoom the images using the right click.', text: 'You can zoom the images using the right click.',
attachTo: { attachTo: {
element: '.viewport-element', element: '.viewport-element',
on: 'top', on: 'left',
}, },
advanceOn: { advanceOn: {
selector: '.cornerstone-viewport-element', selector: '.cornerstone-viewport-element',
@ -344,7 +344,7 @@ window.config = {
text: 'You can modify the window level using the left click.', text: 'You can modify the window level using the left click.',
attachTo: { attachTo: {
element: '.viewport-element', element: '.viewport-element',
on: 'top', on: 'left',
}, },
advanceOn: { advanceOn: {
selector: '.cornerstone-viewport-element', selector: '.cornerstone-viewport-element',
@ -373,7 +373,7 @@ window.config = {
text: 'Use the length tool on the viewport to measure the length of a region.', text: 'Use the length tool on the viewport to measure the length of a region.',
attachTo: { attachTo: {
element: '.viewport-element', element: '.viewport-element',
on: 'top', on: 'right',
}, },
advanceOn: { advanceOn: {
selector: 'body', selector: 'body',
@ -415,7 +415,7 @@ window.config = {
text: 'Scroll the images using the mouse wheel away from the measurement.', text: 'Scroll the images using the mouse wheel away from the measurement.',
attachTo: { attachTo: {
element: '.viewport-element', element: '.viewport-element',
on: 'top', on: 'left',
}, },
advanceOn: { advanceOn: {
selector: '.cornerstone-viewport-element', selector: '.cornerstone-viewport-element',

View File

@ -44,5 +44,5 @@
} }
.shepherd-modal-overlay-container.shepherd-modal-is-visible { .shepherd-modal-overlay-container.shepherd-modal-is-visible {
@apply !opacity-70 @apply !opacity-70;
} }

View File

@ -35,8 +35,9 @@ const Onboarding = () => {
...matchingTour.tourOptions, ...matchingTour.tourOptions,
defaultStepOptions: { defaultStepOptions: {
...matchingTour.tourOptions?.defaultStepOptions, ...matchingTour.tourOptions?.defaultStepOptions,
floatingUIOptions: floatingUIOptions: matchingTour.tourOptions?.defaultStepOptions?.floatingUIOptions || {
matchingTour.tourOptions?.defaultStepOptions?.floatingUIOptions || middleware, middleware,
},
when: { when: {
...matchingTour.tourOptions?.defaultStepOptions?.when, ...matchingTour.tourOptions?.defaultStepOptions?.when,
show: show: