Skip to content

Commit 3606c69

Browse files
committed
boost_set_light_colorを追加
1 parent b4ad008 commit 3606c69

File tree

1 file changed

+6
-0
lines changed
  • src/lib/ruby-to-blocks-converter

1 file changed

+6
-0
lines changed

src/lib/ruby-to-blocks-converter/boost.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,12 @@ const BoostConverter = {
105105
);
106106
}
107107
break;
108+
case 'boost_set_light_color':
109+
if (args.length === 1 && this._isNumberOrBlock(args[0])) {
110+
block = this._createBlock('boost_setLightHue', 'statement');
111+
this._addNumberInput(block, 'HUE', 'math_number', args[0], 100);
112+
}
113+
break;
108114
}
109115
}
110116
return block;

0 commit comments

Comments
 (0)