onScreenPoint3.roundToInteger();
if (mouseInteractionController != null)
- if (context.mouseClick != null)
- if (Polygon.pointWithinPolygon(context.mouseClick.coordinate,
+ if (context.mouseEvent != null)
+ if (Polygon.pointWithinPolygon(context.mouseEvent.coordinate,
onScreenPoint1, onScreenPoint2, onScreenPoint3))
- context.clickedItem = mouseInteractionController;
+ context.objectUnderMouse = mouseInteractionController;
if (color.isTransparent())
return;