confirmationDialog close/X button

Game development with Board Game Arena Studio
Post Reply
User avatar
hersh
Posts: 76
Joined: 12 December 2013, 23:49

confirmationDialog close/X button

Post by hersh »

Is it possible to run the noHandler if the player closes the dialog by clicking the "X" at the top right?

Need to be able to client-side undo the last move.

thanks
User avatar
RicardoRix
Posts: 2548
Joined: 29 April 2012, 23:43

Re: confirmationDialog close/X button

Post by RicardoRix »

it sounds like the client should not have played the original move until the confirmation box is cleared.
User avatar
hersh
Posts: 76
Joined: 12 December 2013, 23:49

Re: confirmationDialog close/X button

Post by hersh »

if you create a custom dialog there is a method .hideCloseIcon() according to the documentation, but I would prefer to use the confirmationDialog helper.
User avatar
Een
Posts: 3861
Joined: 16 June 2010, 19:52

Re: confirmationDialog close/X button

Post by Een »

Actually the default close icon on confirmationDialog doesn't make sense (the player shouldn't be able to close the popup without answering the confirmation question). So the close icon will be removed on confirmationDialogs with the next release.
Post Reply

Return to “Developers”