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

Livemap attribution #199

Merged
merged 4 commits into from
Sep 11, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fixed Label background
  • Loading branch information
ISeleznev-HORIS committed Sep 8, 2020
commit c16d7605c8a6cbd339e30325a40750f17275db94
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Label(override var origin: DoubleVector, private var text: Text) : RenderB
dimension = text.measureText(ctx) + DoubleVector(2 * padding, 2 * padding)

rectangle.apply {
rect = DoubleRectangle(DoubleVector.ZERO, dimension)
rect = DoubleRectangle(DoubleVector.ZERO, this@Label.dimension)
color = background
}

Expand Down