From 93e1619be89d84eda1119cdabc883116e80507df Mon Sep 17 00:00:00 2001 From: Evert Timberg Date: Sat, 24 Apr 2021 08:34:39 -0400 Subject: [PATCH] In html tooltip sample padding is read from the options --- docs/samples/tooltip/html.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/samples/tooltip/html.md b/docs/samples/tooltip/html.md index 2a7cb9e5243..d4903d7b66e 100644 --- a/docs/samples/tooltip/html.md +++ b/docs/samples/tooltip/html.md @@ -106,7 +106,7 @@ const externalTooltipHandler = (context) => { tooltipEl.style.left = positionX + tooltip.caretX + 'px'; tooltipEl.style.top = positionY + tooltip.caretY + 'px'; tooltipEl.style.font = tooltip.options.bodyFont.string; - tooltipEl.style.padding = tooltip.padding + 'px ' + tooltip.padding + 'px'; + tooltipEl.style.padding = tooltip.options.padding + 'px ' + tooltip.options.padding + 'px'; }; //