Skip to content

Commit

Permalink
point stroke counts as border
Browse files Browse the repository at this point in the history
  • Loading branch information
teunbrand committed Aug 27, 2024
1 parent a9f259e commit 52fc7b7
Show file tree
Hide file tree
Showing 9 changed files with 37 additions and 37 deletions.
2 changes: 1 addition & 1 deletion R/geom-point.R
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ GeomPoint <- ggproto("GeomPoint", Geom,
default_aes = aes(
shape = from_theme(pointshape),
colour = from_theme(ink), size = from_theme(pointsize), fill = NA,
alpha = NA, stroke = 0.5
alpha = NA, stroke = from_theme(borderwidth)
),

draw_panel = function(self, data, panel_params, coord, na.rm = FALSE) {
Expand Down
10 changes: 5 additions & 5 deletions tests/testthat/_snaps/theme/theme-bw-large.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions tests/testthat/_snaps/theme/theme-classic-large.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions tests/testthat/_snaps/theme/theme-dark-large.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions tests/testthat/_snaps/theme/theme-gray-large.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions tests/testthat/_snaps/theme/theme-light-large.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions tests/testthat/_snaps/theme/theme-linedraw-large.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions tests/testthat/_snaps/theme/theme-minimal-large.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion tests/testthat/_snaps/utilities-break.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# cut_interval gives the correct
# cut_interval throws the correct error message

Specify exactly one of `n` and `length`.

0 comments on commit 52fc7b7

Please sign in to comment.