Skip to content

Commit

Permalink
insure ruler is always on top of the map preview
Browse files Browse the repository at this point in the history
  • Loading branch information
kuronekochomusuke committed Nov 26, 2023
1 parent 9195c91 commit a106899
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions megamek/src/megamek/client/ui/swing/lobby/ChatLounge.java
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,7 @@ public void componentShown(ComponentEvent e) {
Ruler ruler = new Ruler(clientgui.frame, client(), previewBV, boardPreviewGame);
ruler.setLocation(GUIP.getRulerPosX(), GUIP.getRulerPosY());
ruler.setSize(GUIP.getRulerSizeHeight(), GUIP.getRulerSizeWidth());
ruler.setAlwaysOnTop(true);
UIUtil.updateWindowBounds(ruler);

// Most boards will be far too large on the standard zoom
Expand Down

0 comments on commit a106899

Please sign in to comment.