Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make line width equal to point's stroke width #798

Merged
merged 9 commits into from
Jun 28, 2023
Prev Previous commit
Next Next commit
Make fill=<background color> for all point geoms.
  • Loading branch information
OLarionova-HORIS committed Jun 26, 2023
commit dff3070f5883a98773dd7346a0bcda857581a2a5
Original file line number Diff line number Diff line change
Expand Up @@ -113,19 +113,19 @@ internal class DefaultGeomTheme private constructor(
GeomKind.Q_Q,
GeomKind.Q_Q_2 -> {
color = inheritedColors.lineColor()
fill = Colors.withOpacity(inheritedColors.lineColor(), 0.1)
fill = inheritedColors.backgroundFill()
size = 2.0
}

GeomKind.POINT_RANGE -> {
color = inheritedColors.lineColor()
fill = Colors.withOpacity(inheritedColors.lineColor(), 0.1)
fill = inheritedColors.backgroundFill()
lineWidth = 1.0 // line width and stroke for point
}

GeomKind.LOLLIPOP -> {
color = inheritedColors.lineColor()
fill = Colors.withOpacity(inheritedColors.lineColor(), 0.1)
fill = inheritedColors.backgroundFill()
size = 2.0
lineWidth = 1.0 // line width and stroke for point
}
Expand Down