fix: backward compatibility with toolbar service (#5052)
This commit is contained in:
1 parent
c6b28654b5
commit
9b1b501d83
27 files changed
+198
-144
No files matched your search
@@ -50,7 +50,7 @@ function modeFactory({ modeConfiguration }) {
|
||||
|
||||
toolbarService.register([...toolbarButtons, ...moreTools]);
|
||||
toolbarService.updateSection('primary', [
|
||||
'measurementSection',
|
||||
'MeasurementTools',
|
||||
'Zoom',
|
||||
'Pan',
|
||||
'TrackballRotate',
|
||||
@@ -58,10 +58,10 @@ function modeFactory({ modeConfiguration }) {
|
||||
'Capture',
|
||||
'Layout',
|
||||
'Crosshairs',
|
||||
'moreToolsSection',
|
||||
'MoreTools',
|
||||
]);
|
||||
|
||||
toolbarService.updateSection('measurementSection', [
|
||||
toolbarService.updateSection('MeasurementTools', [
|
||||
'Length',
|
||||
'Bidirectional',
|
||||
'ArrowAnnotate',
|
||||
@@ -73,7 +73,7 @@ function modeFactory({ modeConfiguration }) {
|
||||
'LivewireContour',
|
||||
]);
|
||||
|
||||
toolbarService.updateSection('moreToolsSection', [
|
||||
toolbarService.updateSection('MoreTools', [
|
||||
'Reset',
|
||||
'rotate-right',
|
||||
'flipHorizontal',
|
||||
|
||||
Reference in new issue
Block a user