Skip to content

Commit

Permalink
fix warning in available_marker_symbols
Browse files Browse the repository at this point in the history
available_marker_symbols() was not highlighted as code, resulting in a warning that had underlined the word marker
  • Loading branch information
japhir authored Jan 10, 2025
1 parent 6431881 commit 5a31cda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/conversions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1922,7 +1922,7 @@ function to_spritemarker(marker::Symbol)
if haskey(default_marker_map(), marker)
return to_spritemarker(default_marker_map()[marker])
else
@warn("Unsupported marker: $marker, using ● instead. Available options can be printed with available_marker_symbols()")
@warn("Unsupported marker: $marker, using ● instead. Available options can be printed with `available_marker_symbols()`")
return ''
end
end
Expand Down Expand Up @@ -1985,4 +1985,4 @@ GeometryBasics.collect_with_eltype(::Type{T}, vec::ShaderAbstractions.Buffer{T})
# Used in Label, maybe useful elsewhere?
to_lrbt_padding(x::Real) = Vec4f(x)
to_lrbt_padding(xy::VecTypes{2}) = Vec4f(xy[1], xy[1], xy[2], xy[2])
to_lrbt_padding(pad::VecTypes{4}) = to_ndim(Vec4f, pad, 0)
to_lrbt_padding(pad::VecTypes{4}) = to_ndim(Vec4f, pad, 0)

0 comments on commit 5a31cda

Please sign in to comment.