Skip to content

Commit fd79e2a

Browse files
committed
Changed tooltip to use the word method instead of function.
1 parent 56a64aa commit fd79e2a

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed
1.55 KB
Loading

external_samples/docs/component_blocks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<img src="BlockWithComponentDropdown.png">
88

9-
### Tooltip shows that this block calls a method on a component and details about what that method does.
9+
### Tooltip shows that the block calls a method on a component, followed by details about what that method does.
1010

1111
<img src="BlockWithTooltip.png">
1212

src/blocks/mrc_call_python_function.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ const CALL_PYTHON_FUNCTION = {
156156
case FunctionKind.INSTANCE_COMPONENT: {
157157
const className = this.mrcComponentClassName;
158158
const functionName = this.getFieldValue(pythonUtils.FIELD_FUNCTION_NAME);
159-
tooltip = 'Calls the function ' + className + '.' + functionName +
159+
tooltip = 'Calls the method ' + className + '.' + functionName +
160160
' on the component named ' + this.getComponentName() + '.';
161161
break;
162162
}

0 commit comments

Comments
 (0)