mirror of
https://github.com/chartjs/Chart.js.git
synced 2026-03-25 01:26:53 +01:00
Read Title font options from correct place (#7502)
This commit is contained in:
committed by
Evert Timberg
parent
c1c8037b28
commit
55fddd05b0
@@ -144,7 +144,7 @@ export class Title extends Element {
|
||||
return;
|
||||
}
|
||||
|
||||
const fontOpts = toFont(opts);
|
||||
const fontOpts = toFont(opts.font);
|
||||
const lineHeight = fontOpts.lineHeight;
|
||||
const offset = lineHeight / 2 + me._padding.top;
|
||||
let rotation = 0;
|
||||
|
||||
Reference in New Issue
Block a user