fix: minor type and ui fixes, fix solid reactivity warning
This commit is contained in:
parent
cd4c5095e5
commit
82413a8212
4 changed files with 47 additions and 35 deletions
|
@ -191,8 +191,8 @@ function showTooltip(context: ChartContext) {
|
|||
const pos = context.chart.canvas.getBoundingClientRect();
|
||||
el.style.opacity = "1";
|
||||
el.style.position = "absolute";
|
||||
el.style.left = `${pos.left + window.scrollX + model.caretX}px`;
|
||||
el.style.top = `${pos.top + window.scrollY + model.caretY}px`;
|
||||
el.style.left = `${(pos.left + window.scrollX + model.caretX).toString()}px`;
|
||||
el.style.top = `${(pos.top + window.scrollY + model.caretY).toString()}px`;
|
||||
el.style.pointerEvents = "none";
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue