Skip to content

Commit 22bf57a

Browse files
committed
no more shadow
1 parent 236e8c2 commit 22bf57a

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

blocks/src/Components/GUI/BlocklyComponent.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import ShowCodeAndXML from './ShowCodeAndXML';
1818
// import { BlockReact, CategoryReact } from '../../BlocklyFields';
1919
import {ContentHighlight} from '@blockly/workspace-content-highlight';
2020
import {ZoomToFitControl} from '@blockly/zoom-to-fit';
21-
import {shadowBlockConversionChangeListener} from '@blockly/shadow-block-converter';
21+
// import {shadowBlockConversionChangeListener} from '@blockly/shadow-block-converter';
2222
import {CrossTabCopyPaste} from '@blockly/plugin-cross-tab-copy-paste';
2323
import {Backpack} from '@blockly/workspace-backpack';
2424
import ExistingSwagger from '../Swagger/ExistingSwagger';
@@ -939,7 +939,7 @@ Blockly.setLocale(locale);
939939
const zoomToFit = new ZoomToFitControl(primaryWorkspace.current);
940940
zoomToFit.init();
941941

942-
primaryWorkspace.current.addChangeListener(shadowBlockConversionChangeListener);
942+
//primaryWorkspace.current.addChangeListener(shadowBlockConversionChangeListener);
943943

944944
const options = {
945945
contextMenu: true,

blocks/src/declartions.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
declare module '@blockly/workspace-content-highlight';
22
declare module '@blockly/zoom-to-fit';
3-
declare module '@blockly/shadow-block-converter';
3+
// declare module '@blockly/shadow-block-converter';
44
declare module '@blockly/plugin-cross-tab-copy-paste';
55
declare module '@blockly/workspace-backpack';

0 commit comments

Comments
 (0)