File tree Expand file tree Collapse file tree
packages/blockly/core/icons Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77import type { Block } from '../block.js' ;
88import type { BlockSvg } from '../block_svg.js' ;
99import * as browserEvents from '../browser_events.js' ;
10+ import type { IContextMenu } from '../interfaces/i_contextmenu.js' ;
1011import type { IFocusableTree } from '../interfaces/i_focusable_tree.js' ;
1112import { hasBubble } from '../interfaces/i_has_bubble.js' ;
1213import type { IIcon } from '../interfaces/i_icon.js' ;
@@ -26,7 +27,7 @@ import type {IconType} from './icon_types.js';
2627 * block (such as warnings or comments) as opposed to fields, which provide
2728 * "actual" information, related to how a block functions.
2829 */
29- export abstract class Icon implements IIcon {
30+ export abstract class Icon implements IIcon , IContextMenu {
3031 /**
3132 * The position of this icon relative to its blocks top-start,
3233 * in workspace units.
You can’t perform that action at this time.
0 commit comments