Skip to content

Commit

Permalink
Add a 0 for word wrap width, update version
Browse files Browse the repository at this point in the history
  • Loading branch information
asinghvi17 committed May 15, 2022
1 parent b6eae8f commit 871e02e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "GeoMakie"
uuid = "db073c08-6b98-4ee5-b6a4-5efafb3259c6"
authors = ["Makie.jl Contributors"]
version = "0.4.0"
version = "0.4.1"

[deps]
Colors = "5ae59095-9a9b-59fe-a467-6f913c188581"
Expand All @@ -24,7 +24,7 @@ GeoInterface = "0.5"
GeoJSON = "0.5"
GeometryBasics = "0.4.1"
ImageIO = "0.6"
Makie = "0.17"
Makie = "0.17.1"
Proj4="0.7"
# Proj = "1.0"
Reexport = "1"
Expand Down
2 changes: 1 addition & 1 deletion src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ function text_bbox(textstring::AbstractString, textsize::Union{AbstractVector, N
glyph_collection = Makie.layout_text(
textstring, textsize,
font, align, rotation, justification, lineheight,
RGBAf(0,0,0,0), RGBAf(0,0,0,0), 0f0
RGBAf(0,0,0,0), RGBAf(0,0,0,0), 0f0, 0f0
)

return Rect2f(Makie.boundingbox(glyph_collection, Point3f(0), Makie.to_rotation(rotation)))
Expand Down

2 comments on commit 871e02e

@asinghvi17
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/60301

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.4.1 -m "<description of version>" 871e02e73b145ebe9aff6dd703c5c17facfd4715
git push origin v0.4.1

Please sign in to comment.