+ else if (this.vr.moves.length > 0)
+ {
+ // A game finished, and another is not started yet: allow navigation
+ actionArray = actionArray.concat([
+ h('button',
+ {
+ style: { "margin-left": "30px" },
+ on: { click: e => this.undo() },
+ attrs: { "aria-label": 'Undo' },
+ 'class': {
+ "tooltip":true,
+ "bottom": true,
+ },
+ },
+ [h('i', { 'class': { "material-icons": true } }, "fast_rewind")]),
+ h('button',
+ {
+ on: { click: e => this.play() },
+ attrs: { "aria-label": 'Play' },
+ 'class': {
+ "tooltip":true,
+ "bottom": true,
+ },
+ },
+ [h('i', { 'class': { "material-icons": true } }, "fast_forward")]),
+ ]
+ );
+ }