Skip to content

Commit

Permalink
Update GFrame.java
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalgust committed Dec 8, 2024
1 parent 6562bf8 commit 205db61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extlib/xgui/src/main/java/org/mini/gui/GFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public void align(int align_mod) {
* ensure frame close bar in form ,not in screen
* because form maybe translate on keyboard popup
*/
void validLocation() {
public void validLocation() {
if (getX() + getW() < parent.getX() + 40) {
setLocation(-(getW() - 40), getLocationTop());
}
Expand Down

0 comments on commit 205db61

Please sign in to comment.