Skip to content
This repository was archived by the owner on Jul 24, 2019. It is now read-only.

Commit 08f506a

Browse files
author
Aaron Imming
committed
Move Blockly.BlockSvg.TAB_WIDTH override to block_svg.js
1 parent 174d4d2 commit 08f506a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/scratch/hooks/block_svg.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
/* eslint-disable func-names, no-underscore-dangle */
21
import { translate } from '../../utils/lang/i18n';
32

3+
/* eslint-disable func-names, no-underscore-dangle */
4+
5+
// deriv-bot: Blockly value, Scratch resets this to 0, req for correct spacing in flyout.
6+
Blockly.BlockSvg.TAB_WIDTH = 8;
7+
48
/**
59
* Set whether the block is disabled or not.
610
* @param {boolean} disabled True if disabled.

0 commit comments

Comments
 (0)