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