set background fill style for each label
This commit is contained in:
@@ -280,6 +280,7 @@ class Executor {
|
|||||||
context.lineTo.apply(context, p1);
|
context.lineTo.apply(context, p1);
|
||||||
if (fillInstruction) {
|
if (fillInstruction) {
|
||||||
this.alignFill_ = /** @type {boolean} */ (fillInstruction[2]);
|
this.alignFill_ = /** @type {boolean} */ (fillInstruction[2]);
|
||||||
|
context.fillStyle = /** @type {import("../../colorlike.js").ColorLike} */ (fillInstruction[1]);
|
||||||
this.fill_(context);
|
this.fill_(context);
|
||||||
}
|
}
|
||||||
if (strokeInstruction) {
|
if (strokeInstruction) {
|
||||||
|
|||||||
Reference in New Issue
Block a user