Skip to content

Commit

Permalink
Fix tooltip radius for geom_point().
Browse files Browse the repository at this point in the history
  • Loading branch information
OLarionova-HORIS committed Apr 12, 2024
1 parent a9a214e commit 5f1b289
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ open class PointGeom : GeomBase() {
}

targetCollector.addPoint(
i, location, (sizeUnitRatio * shape.size(p) + shape.strokeWidth(p)) / 2,
i, location, (shape.size(p, sizeUnitRatio) + shape.strokeWidth(p)),
GeomTargetCollector.TooltipParams(
markerColors = colorsByDataPoint(p)
)
Expand Down

0 comments on commit 5f1b289

Please sign in to comment.