forked from External/mage
* Select card window - Fixed a bug that the window (also if reqiured) was closed, if you clicked on the frame of the window (e.g. to resize). Now the window is not closed in this case and can also be resized (fixes #100). However if the target is not set to required, the window is not modal and clicking anywhere beside the window, will still close the window without having made a selection.
This commit is contained in:
parent
856dd35686
commit
c40dd7fb4b
4 changed files with 23 additions and 10 deletions
|
|
@ -208,7 +208,7 @@ public class CallbackClientImpl implements CallbackClient {
|
|||
panel.ask(message.getMessage(), message.getGameView(), callback.getMessageId());
|
||||
} break;
|
||||
}
|
||||
case "gameTarget":
|
||||
case "gameTarget": // e.g. Pick triggered ability
|
||||
{
|
||||
GameClientMessage message = (GameClientMessage) callback.getData();
|
||||
GamePanel panel = MageFrame.getGame(callback.getObjectId());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue