Skip to content

Commit d3a7945

Browse files
committed
Website updates
1 parent 4254b57 commit d3a7945

File tree

6 files changed

+7
-6
lines changed

6 files changed

+7
-6
lines changed

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/ol/control/ScaleLine.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/control/ScaleLine.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,8 @@ class ScaleLine extends Control {
319319

320320
let i = 3 * Math.floor(Math.log(minWidth * pointResolution) / Math.log(10));
321321
let count, width, decimalCount;
322-
let previousCount, previousWidth, previousDecimalCount;
322+
let previousCount = 0;
323+
let previousWidth, previousDecimalCount;
323324
while (true) {
324325
decimalCount = Math.floor(i / 3);
325326
const decimal = Math.pow(10, decimalCount);

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.

0 commit comments

Comments
 (0)