Skip to content

Commit 6324a5f

Browse files
committed
Website updates
1 parent 0456695 commit 6324a5f

11 files changed

Lines changed: 20 additions & 10 deletions

File tree

dist/en/main/examples/common.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/examples/common.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/examples/offscreen-canvas.worker.worker.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/examples/offscreen-canvas.worker.worker.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/ol/dist/ol.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/ol/dist/ol.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/ol/render/canvas/Builder.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/ol/render/canvas/Builder.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,10 @@ class CanvasBuilder extends VectorContext {
627627
*/
628628
updateFillStyle(state, createFill) {
629629
const fillStyle = state.fillStyle;
630-
if (typeof fillStyle !== 'string' || state.currentFillStyle != fillStyle) {
630+
if (
631+
(fillStyle !== undefined && typeof fillStyle !== 'string') ||
632+
state.currentFillStyle != fillStyle
633+
) {
631634
this.instructions.push(createFill.call(this, state));
632635
state.currentFillStyle = fillStyle;
633636
}

dist/en/main/ol/render/canvas/Executor.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/ol/render/canvas/Executor.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1267,13 +1267,20 @@ class Executor {
12671267
context.stroke();
12681268
pendingStroke = 0;
12691269
}
1270+
} else if (pendingStroke && instruction[1]) {
1271+
context.stroke();
1272+
pendingStroke = 0;
12701273
}
12711274

12721275
/** @type {import("../../colorlike.js").ColorLike} */
12731276
context.fillStyle = instruction[1];
12741277
++i;
12751278
break;
12761279
case CanvasInstruction.SET_STROKE_STYLE:
1280+
if (pendingFill && instruction[1]) {
1281+
this.fill_(context);
1282+
pendingFill = 0;
1283+
}
12771284
if (pendingStroke) {
12781285
context.stroke();
12791286
pendingStroke = 0;

0 commit comments

Comments
 (0)