fix(template): Update mode template to match current implementation (OHI-1833) (#4998)
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Alireza Sedghi <ar.sedghi@gmail.com>
This commit is contained in:
parent
325cb3f7d5
commit
0f39496290
@ -1,4 +1,5 @@
|
|||||||
import { initToolGroups, toolbarButtons } from '@ohif/mode-longitudinal';
|
import { hotkeys } from '@ohif/core';
|
||||||
|
import { initToolGroups, toolbarButtons, moreTools } from '@ohif/mode-longitudinal';
|
||||||
import { id } from './id';
|
import { id } from './id';
|
||||||
|
|
||||||
const ohif = {
|
const ohif = {
|
||||||
@ -47,12 +48,13 @@ function modeFactory({ modeConfiguration }) {
|
|||||||
// Init Default and SR ToolGroups
|
// Init Default and SR ToolGroups
|
||||||
initToolGroups(extensionManager, toolGroupService, commandsManager);
|
initToolGroups(extensionManager, toolGroupService, commandsManager);
|
||||||
|
|
||||||
toolbarService.addButtons(toolbarButtons);
|
toolbarService.addButtons([...toolbarButtons, ...moreTools]);
|
||||||
toolbarService.createButtonSection('primary', [
|
toolbarService.createButtonSection('primary', [
|
||||||
'measurementSection',
|
'measurementSection',
|
||||||
'Zoom',
|
'Zoom',
|
||||||
'WindowLevel',
|
|
||||||
'Pan',
|
'Pan',
|
||||||
|
'TrackballRotate',
|
||||||
|
'WindowLevel',
|
||||||
'Capture',
|
'Capture',
|
||||||
'Layout',
|
'Layout',
|
||||||
'Crosshairs',
|
'Crosshairs',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user