File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ const GUIComponent = props => {
87
87
isRtl,
88
88
isShared,
89
89
loading,
90
+ logo,
90
91
renderLogin,
91
92
onClickAccountNav,
92
93
onCloseAccountNav,
@@ -215,6 +216,7 @@ const GUIComponent = props => {
215
216
className = { styles . menuBarPosition }
216
217
enableCommunity = { enableCommunity }
217
218
isShared = { isShared }
219
+ logo = { logo }
218
220
renderLogin = { renderLogin }
219
221
showComingSoon = { showComingSoon }
220
222
onClickAccountNav = { onClickAccountNav }
@@ -384,6 +386,7 @@ GUIComponent.propTypes = {
384
386
isRtl : PropTypes . bool ,
385
387
isShared : PropTypes . bool ,
386
388
loading : PropTypes . bool ,
389
+ logo : PropTypes . string ,
387
390
onActivateCostumesTab : PropTypes . func ,
388
391
onActivateSoundsTab : PropTypes . func ,
389
392
onActivateTab : PropTypes . func ,
Original file line number Diff line number Diff line change @@ -327,7 +327,7 @@ class MenuBar extends React.Component {
327
327
[ styles . clickable ] : typeof this . props . onClickLogo !== 'undefined'
328
328
} ) }
329
329
draggable = { false }
330
- src = { scratchLogo }
330
+ src = { this . props . logo ? this . props . logo : scratchLogo }
331
331
onClick = { this . props . onClickLogo }
332
332
/>
333
333
</ div >
@@ -723,6 +723,7 @@ MenuBar.propTypes = {
723
723
languageMenuOpen : PropTypes . bool ,
724
724
locale : PropTypes . string . isRequired ,
725
725
loginMenuOpen : PropTypes . bool ,
726
+ logo : PropTypes . string ,
726
727
onClickAccount : PropTypes . func ,
727
728
onClickEdit : PropTypes . func ,
728
729
onClickFile : PropTypes . func ,
You can’t perform that action at this time.
0 commit comments