Skip to content

Commit b4ad008

Browse files
committed
boost_get_tilt_angleを追加
1 parent 3dade1f commit b4ad008

File tree

1 file changed

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

1 file changed

+10
-0
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,16 @@ const BoostConverter = {
9595
);
9696
}
9797
break;
98+
case 'boost_get_tilt_angle':
99+
if (args.length === 1 && this._isStringOrBlock(args[0])) {
100+
block = this._createBlock('boost_getTiltAngle', 'value');
101+
this._addInput(
102+
block,
103+
'TILT_DIRECTION',
104+
this._createFieldBlock('boost_menu_TILT_DIRECTION', 'TILT_DIRECTION', args[0])
105+
);
106+
}
107+
break;
98108
}
99109
}
100110
return block;

0 commit comments

Comments
 (0)