world map overlay: Render on ABOVE_WIDGETS layer

This commit makes world map overlay points and tooltips render below the
right-click menu, like native world map points and tooltips do.
This commit is contained in:
Jordan Atwood
2018-09-13 16:17:19 -07:00
parent 3832abfca8
commit 1263e8a636

View File

@@ -70,7 +70,7 @@ public class WorldMapOverlay extends Overlay
this.worldMapPointManager = worldMapPointManager;
setPosition(OverlayPosition.DYNAMIC);
setPriority(OverlayPriority.HIGHEST);
setLayer(OverlayLayer.ALWAYS_ON_TOP);
setLayer(OverlayLayer.ABOVE_WIDGETS);
mouseManager.registerMouseListener(worldMapOverlayMouseListener);
}