plot: Fix incorrect tooltip dot left position (#919)
This commit is contained in:
parent
ecfa6b8451
commit
9afe0063a4
1 changed files with 1 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ impl RenderOnce for Dot {
|
||||||
.border_1()
|
.border_1()
|
||||||
.border_color(self.stroke)
|
.border_color(self.stroke)
|
||||||
.bg(self.fill)
|
.bg(self.fill)
|
||||||
.left(self.point.x)
|
.left(self.point.x - self.size / 2.)
|
||||||
.top(self.point.y - self.size / 2.)
|
.top(self.point.y - self.size / 2.)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue