Skip to content

Commit

Permalink
fix useless confirm dialog after resign or draw
Browse files Browse the repository at this point in the history
  • Loading branch information
schlawg authored Jan 1, 2025
1 parent a102524 commit 14f23d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/round/src/view/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export const renderTablePlay = (ctrl: RoundController): LooseVNodes => {
return [
renderReplay(ctrl),
h('div.rcontrols', [
h('div.ricons', { class: { 'yes-no-confirm': !!(ctrl.drawConfirm || ctrl.resignConfirm) } }, icons),
h('div.ricons', { class: { confirm: !!(ctrl.drawConfirm || ctrl.resignConfirm) } }, icons),
...buttons,
]),
];
Expand Down

0 comments on commit 14f23d8

Please sign in to comment.