@@ -235,6 +235,7 @@ class CostumeTab extends React.Component {
235235 const {
236236 dispatchUpdateRestore, // eslint-disable-line no-unused-vars
237237 intl,
238+ isRtl,
238239 onNewCostumeFromCameraClick,
239240 onNewLibraryBackdropClick,
240241 onNewLibraryCostumeClick,
@@ -300,6 +301,7 @@ class CostumeTab extends React.Component {
300301 }
301302 ] }
302303 dragType = { DragConstants . COSTUME }
304+ isRtl = { isRtl }
303305 items = { costumeData }
304306 selectedItemIndex = { this . state . selectedCostumeIndex }
305307 onDeleteClick = { target && target . costumes && target . costumes . length > 1 ?
@@ -330,6 +332,7 @@ CostumeTab.propTypes = {
330332 dispatchUpdateRestore : PropTypes . func ,
331333 editingTarget : PropTypes . string ,
332334 intl : intlShape ,
335+ isRtl : PropTypes . bool ,
333336 onActivateSoundsTab : PropTypes . func . isRequired ,
334337 onNewCostumeFromCameraClick : PropTypes . func . isRequired ,
335338 onNewLibraryBackdropClick : PropTypes . func . isRequired ,
@@ -354,6 +357,7 @@ CostumeTab.propTypes = {
354357
355358const mapStateToProps = state => ( {
356359 editingTarget : state . scratchGui . targets . editingTarget ,
360+ isRtl : state . locales . isRtl ,
357361 sprites : state . scratchGui . targets . sprites ,
358362 stage : state . scratchGui . targets . stage ,
359363 dragging : state . scratchGui . assetDrag . dragging ,
0 commit comments