Skip to content

Commit

Permalink
opcomparacion
Browse files Browse the repository at this point in the history
  • Loading branch information
danielferro69 committed May 16, 2024
1 parent 8f89a08 commit e9eefca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/blockly/PBBlocklyWorkspace.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const MyBlockly = ({ blockIds, categorized, sx, title, ...props }: PBBlocklyWork
workspace.dispose()
setWorkspace(Blockly.inject(wrapperRef.current, {
toolbox: categorized ? categorizedToolbox(t, blocksWithCategories) : uncategorizedToolbox(blocksWithCategories),
//...props.workspaceConfiguration
...props.workspaceConfiguration
}));
}
else
Expand All @@ -51,7 +51,7 @@ const MyBlockly = ({ blockIds, categorized, sx, title, ...props }: PBBlocklyWork
setWasCategorized(categorized)
setWorkspace(Blockly.inject(wrapperRef.current, {
toolbox: categorized ? categorizedToolbox(t, blocksWithCategories) : uncategorizedToolbox(blocksWithCategories),
//...props.workspaceConfiguration
...props.workspaceConfiguration
}));
/*
if (props.initialXml && workspace ) {
Expand Down
2 changes: 1 addition & 1 deletion src/components/blockly/blockly.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1365,7 +1365,7 @@ const createOthersBlocks = (t: (key: string) => string) => {
customContextMenu: Blockly.Blocks['procedures_defnoreturn'].customContextMenu,
categoryId: 'myprocedures'
};
/*

console.log('opcomparacion')

Blockly.Blocks['OpComparacion'] = {
Expand Down

0 comments on commit e9eefca

Please sign in to comment.