worldmap: use correct bounds for tooltip hit checking
This commit is contained in:
@@ -130,7 +130,7 @@ public class WorldMapOverlay extends Overlay
|
|||||||
Area currentClip = null;
|
Area currentClip = null;
|
||||||
|
|
||||||
Point mousePos = client.getMouseCanvasPosition();
|
Point mousePos = client.getMouseCanvasPosition();
|
||||||
if (!canvasViewArea.contains(mousePos.getX(), mousePos.getY()))
|
if (!mapViewArea.contains(mousePos.getX(), mousePos.getY()))
|
||||||
{
|
{
|
||||||
mousePos = null;
|
mousePos = null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user