Fix tooltip padding (#8666)

This commit is contained in:
Jukka Kurkela 2021-03-18 13:27:37 +02:00 committed by GitHub
parent 282c85827a
commit f10b510890
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ function getTooltipSize(tooltip, options) {
ctx.restore();
// Add padding
width += 2 * padding.width;
width += padding.width;
return {width, height};
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 37 KiB