UNPKG

pxt-core

Version:

Microsoft MakeCode provides Blocks / JavaScript / Python tools and editors

9 lines (8 loc) 427 B
/** * Make allowlisted shadow blocks (marked `duplicateShadowOnDrag`) the drag * target rather than their parent. Blockly's default walks up to the nearest * non-shadow ancestor; we want the shadow itself so the duplicate-on-drag * strategy can extract it and refill the parent slot via setShadowDom. */ export declare function monkeyPatchShadowDragTargetBlock(): void; export declare function monkeyPatchGesture(): void;