Commit a55e6157 authored by Tobias Bengfort's avatar Tobias Bengfort
Browse files

disable pause in scenarios

parent f5524f02
......@@ -59,7 +59,7 @@ const renderControls = function(state) {
' ',
h('input', {type: 'hidden', value: 1, name: 'steps'}),
' ',
h('button', {'class': 'js-play'}, state.game.playing ? 'Pause' : 'Play'),
h('button', {'class': 'js-play', disabled: state.game.playing}, 'Play'),
' ',
h('button', {'class': 'js-reset'}, 'Reset'),
' ',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment