fix round replay icons

This commit is contained in:
Thibault Duplessis 2021-06-15 08:32:16 +02:00
parent 6888625e2e
commit 0a8df1e16a

View file

@ -180,10 +180,10 @@ function renderButtons(ctrl: RoundController) {
},
}),
...[
['W', firstPly],
['Y', ctrl.ply - 1],
['X', ctrl.ply + 1],
['V', lastPly],
['', firstPly],
['', ctrl.ply - 1],
['', ctrl.ply + 1],
['', lastPly],
].map((b, i) => {
const enabled = ctrl.ply !== b[1] && b[1] >= firstPly && b[1] <= lastPly;
return h('button.fbt', {