Skip to content

Commit b258d95

Browse files
committed
Change methods to look like functions
1 parent 9c30bc1 commit b258d95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/blocks/mrc_class_method_def.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* @author [email protected] (Alan Smith)
2121
*/
2222
import * as Blockly from 'blockly';
23-
import { MRC_STYLE_CLASS_BLOCKS } from '../themes/styles';
23+
import { MRC_STYLE_FUNCTIONS } from '../themes/styles';
2424
import { createFieldNonEditableText } from '../fields/FieldNonEditableText'
2525
import { createFieldFlydown } from '../fields/field_flydown';
2626
import { Order } from 'blockly/python';
@@ -88,7 +88,7 @@ const CLASS_METHOD_DEF = {
8888
this.appendDummyInput("TITLE")
8989
.appendField('', 'NAME');
9090
this.setOutput(false);
91-
this.setStyle(MRC_STYLE_CLASS_BLOCKS);
91+
this.setStyle(MRC_STYLE_FUNCTIONS);
9292
this.appendStatementInput('STACK').appendField('');
9393
this.mrcParameters = [];
9494
this.setPreviousStatement(false);

0 commit comments

Comments
 (0)