dev tools: Fix overlay layer

After the introduction of the new ABOVE_MAP layer, the dev tools overlay
was no longer able to draw above the map, which is needed for the widget
inspector.
This commit is contained in:
Jordan Atwood
2019-01-02 19:33:33 -08:00
parent 487ec5fad3
commit 05473d2050

View File

@@ -103,7 +103,7 @@ class DevToolsOverlay extends Overlay
private DevToolsOverlay(Client client, DevToolsPlugin plugin, TooltipManager toolTipManager)
{
setPosition(OverlayPosition.DYNAMIC);
setLayer(OverlayLayer.ALWAYS_ON_TOP);
setLayer(OverlayLayer.ABOVE_MAP);
this.client = client;
this.plugin = plugin;
this.toolTipManager = toolTipManager;