ol 10.7.1-dev.1768062371532 → 10.7.1-dev.1768688404250
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LineStringBuilder.d.ts","sourceRoot":"","sources":["LineStringBuilder.js"],"names":[],"mappings":";AAUA;IAWE;;;;;;;;OAQG;IACH,6BAuBC;
|
|
1
|
+
{"version":3,"file":"LineStringBuilder.d.ts","sourceRoot":"","sources":["LineStringBuilder.js"],"names":[],"mappings":";AAUA;IAWE;;;;;;;;OAQG;IACH,6BAuBC;CA2HF;0BA5KyB,cAAc"}
|
|
@@ -105,6 +105,7 @@ class CanvasLineStringBuilder extends CanvasBuilder {
|
|
|
105
105
|
const state = this.state;
|
|
106
106
|
const strokeStyle = state.strokeStyle;
|
|
107
107
|
const lineWidth = state.lineWidth;
|
|
108
|
+
const strokeOffset = state.strokeOffset;
|
|
108
109
|
if (strokeStyle === undefined || lineWidth === undefined) {
|
|
109
110
|
return;
|
|
110
111
|
}
|
|
@@ -133,6 +134,7 @@ class CanvasLineStringBuilder extends CanvasBuilder {
|
|
|
133
134
|
offset,
|
|
134
135
|
/** @type {number} */ (ends[i]),
|
|
135
136
|
stride,
|
|
137
|
+
strokeOffset,
|
|
136
138
|
);
|
|
137
139
|
}
|
|
138
140
|
this.hitDetectionInstructions.push(strokeInstruction);
|
package/util.js
CHANGED