|
|
|
@ -1737,7 +1737,8 @@ class Board extends React.Component {
|
|
|
|
|
render() {
|
|
|
|
|
const rh = this.props.height || '20px'; // height={h}
|
|
|
|
|
const renderSpace = (s, h, o) =>
|
|
|
|
|
(<SpaceNode showIcons={true} space={s} key={s.key} orientation={o} />);
|
|
|
|
|
(<SpaceNode current={this.props.currentPlayer.color}
|
|
|
|
|
showIcons={true} space={s} key={s.key} orientation={o} />);
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
<Fragment>
|
|
|
|
@ -2244,7 +2245,9 @@ class BoardApp extends React.Component {
|
|
|
|
|
return (
|
|
|
|
|
<div className='game-container' ref={this.myRef}>
|
|
|
|
|
{alertOverlay}
|
|
|
|
|
<Board spaces={this.props.spaces}>
|
|
|
|
|
<Board spaces={this.props.spaces}
|
|
|
|
|
currentPlayer={this.state.currentPlayer}
|
|
|
|
|
>
|
|
|
|
|
<InfoBar message={this.props.ui.message}
|
|
|
|
|
screen={this.state.screen}
|
|
|
|
|
players={this.props.game.otherPlayers} />
|
|
|
|
|