Fix ground marker plugin layer
This plugin is marking ground, it should be at lowest possible layer to not interfere/draw over other overlays. Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
@@ -27,20 +27,17 @@ package net.runelite.client.plugins.groundmarkers;
|
|||||||
|
|
||||||
import java.awt.event.KeyEvent;
|
import java.awt.event.KeyEvent;
|
||||||
import javax.inject.Inject;
|
import javax.inject.Inject;
|
||||||
import net.runelite.api.Client;
|
|
||||||
import net.runelite.client.input.KeyListener;
|
import net.runelite.client.input.KeyListener;
|
||||||
|
|
||||||
public class GroundMarkerInputListener implements KeyListener
|
public class GroundMarkerInputListener implements KeyListener
|
||||||
{
|
{
|
||||||
private static final int HOTKEY = KeyEvent.VK_SHIFT;
|
private static final int HOTKEY = KeyEvent.VK_SHIFT;
|
||||||
|
|
||||||
private final Client client;
|
|
||||||
private final GroundMarkerPlugin plugin;
|
private final GroundMarkerPlugin plugin;
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
private GroundMarkerInputListener(Client client, GroundMarkerPlugin plugin)
|
private GroundMarkerInputListener(GroundMarkerPlugin plugin)
|
||||||
{
|
{
|
||||||
this.client = client;
|
|
||||||
this.plugin = plugin;
|
this.plugin = plugin;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -53,8 +53,8 @@ public class GroundMarkerOverlay extends Overlay
|
|||||||
this.config = config;
|
this.config = config;
|
||||||
this.plugin = plugin;
|
this.plugin = plugin;
|
||||||
setPosition(OverlayPosition.DYNAMIC);
|
setPosition(OverlayPosition.DYNAMIC);
|
||||||
setPriority(OverlayPriority.HIGH);
|
setPriority(OverlayPriority.LOW);
|
||||||
setLayer(OverlayLayer.UNDER_WIDGETS);
|
setLayer(OverlayLayer.ABOVE_SCENE);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user