|
|
@@ -28,6 +28,5 @@ export function getToolboxHeight() {
|
|
28
|
28
|
* is enabled, false - otherwise.
|
|
29
|
29
|
*/
|
|
30
|
30
|
export function isButtonEnabled(name: string) {
|
|
31
|
|
- return interfaceConfig.TOOLBAR_BUTTONS.indexOf(name) !== -1
|
|
32
|
|
- || interfaceConfig.MAIN_TOOLBAR_BUTTONS.indexOf(name) !== -1;
|
|
|
31
|
+ return interfaceConfig.TOOLBAR_BUTTONS.indexOf(name) !== -1;
|
|
33
|
32
|
}
|