Remove unused getDefaultToolbarButtons now that they're pushed to extension
This commit is contained in:
parent
7971ac58a2
commit
9d50d97d6f
@ -1,60 +0,0 @@
|
|||||||
export default function() {
|
|
||||||
return [
|
|
||||||
{
|
|
||||||
command: 'StackScroll',
|
|
||||||
type: 'tool',
|
|
||||||
text: 'Stack Scroll',
|
|
||||||
icon: 'bars',
|
|
||||||
active: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
command: 'Zoom',
|
|
||||||
type: 'tool',
|
|
||||||
text: 'Zoom',
|
|
||||||
icon: 'search-plus',
|
|
||||||
active: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
command: 'Wwwc',
|
|
||||||
type: 'tool',
|
|
||||||
text: 'Levels',
|
|
||||||
icon: 'level',
|
|
||||||
active: true,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
command: 'Pan',
|
|
||||||
type: 'tool',
|
|
||||||
text: 'Pan',
|
|
||||||
icon: 'arrows',
|
|
||||||
active: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
command: 'Length',
|
|
||||||
type: 'tool',
|
|
||||||
text: 'Length',
|
|
||||||
icon: 'measure-temp',
|
|
||||||
active: false,
|
|
||||||
},
|
|
||||||
/*{
|
|
||||||
command: 'Annotate',
|
|
||||||
type: 'tool',
|
|
||||||
text: 'Annotate',
|
|
||||||
icon: `icon-tools-measure-non-target`,
|
|
||||||
active: false
|
|
||||||
},*/
|
|
||||||
{
|
|
||||||
command: 'Angle',
|
|
||||||
type: 'tool',
|
|
||||||
text: 'Angle',
|
|
||||||
icon: 'angle-left',
|
|
||||||
active: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
command: 'reset',
|
|
||||||
type: 'command',
|
|
||||||
text: 'Reset',
|
|
||||||
icon: 'reset',
|
|
||||||
active: false,
|
|
||||||
},
|
|
||||||
];
|
|
||||||
}
|
|
||||||
@ -1,9 +0,0 @@
|
|||||||
import getDefaultToolbarButtons from './getDefaultToolbarButtons.js';
|
|
||||||
|
|
||||||
describe('getDefaultToolbarButtons.js', () => {
|
|
||||||
it('returns a non-empty array', () => {
|
|
||||||
const buttons = getDefaultToolbarButtons();
|
|
||||||
|
|
||||||
expect(buttons.length).toBeGreaterThan(0);
|
|
||||||
});
|
|
||||||
});
|
|
||||||
Loading…
Reference in New Issue
Block a user