set background fill style for each label

This commit is contained in:
mike-000
2020-05-05 13:04:25 +01:00
committed by GitHub
parent c60a1dedeb
commit d72c7fdc13

View File

@@ -280,6 +280,7 @@ class Executor {
context.lineTo.apply(context, p1);
if (fillInstruction) {
this.alignFill_ = /** @type {boolean} */ (fillInstruction[2]);
context.fillStyle = /** @type {import("../../colorlike.js").ColorLike} */ (fillInstruction[1]);
this.fill_(context);
}
if (strokeInstruction) {