mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 20:41:58 -08:00
GUI: fixed wrong popup card window in non-full screen;
This commit is contained in:
parent
99cbddb8b8
commit
785f6973b9
1 changed files with 0 additions and 1 deletions
|
|
@ -733,7 +733,6 @@ public class MageActionCallback implements ActionCallback {
|
|||
case PUT_INSIDE_PARENT: {
|
||||
location = new Point((int) data.getLocationOnScreen().getX() + data.getPopupOffsetX() - 40, (int) data.getLocationOnScreen().getY() + data.getPopupOffsetY() - 40);
|
||||
location = GuiDisplayUtil.keepComponentInsideParent(location, parentPoint, popupComponent, parentComponent);
|
||||
location.translate(-parentPoint.x, -parentPoint.y);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue