Skip to content
Snippets Groups Projects
Commit 15c9c1fb authored by Paul Kaplan's avatar Paul Kaplan
Browse files

Pass isRTL to the stage wrapper in both player and editor modes.

Discovered this while trying to pass other props to the stage wrapper, we were not passing isRTL to the stage wrapper, causing ask/answer bubble to not display the right direction.
parent 8de8c02f
Branches
Tags
No related merge requests found
......@@ -335,6 +335,7 @@ const GUIComponent = props => {
<Box className={classNames(styles.stageAndTargetWrapper, styles[stageSize])}>
<StageWrapper
isRendererSupported={isRendererSupported}
isRtl={isRtl}
stageSize={stageSize}
vm={vm}
/>
......
......@@ -49,7 +49,7 @@ const StageWrapperComponent = function (props) {
StageWrapperComponent.propTypes = {
isRendererSupported: PropTypes.bool.isRequired,
isRtl: PropTypes.bool,
isRtl: PropTypes.bool.isRequired,
loading: PropTypes.bool,
stageSize: PropTypes.oneOf(Object.keys(STAGE_DISPLAY_SIZES)).isRequired,
vm: PropTypes.instanceOf(VM).isRequired
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment