Skip to content

Commit b00e504

Browse files
committed
Website updates
1 parent 14b61b4 commit b00e504

15 files changed

+13
-30
lines changed

dist/en/main/apidoc/module-ol_interaction_MouseWheelZoom-MouseWheelZoom.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ <h4 class="name">
157157

158158
<div class="tag-source">
159159
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/MouseWheelZoom.js">interaction/MouseWheelZoom.js</a>,
160-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/MouseWheelZoom.js#L38">line 38</a>
160+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/MouseWheelZoom.js#L37">line 37</a>
161161
</div>
162162

163163
</div>
@@ -2028,7 +2028,7 @@ <h4 class="name">
20282028

20292029
<div class="tag-source">
20302030
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/MouseWheelZoom.js">interaction/MouseWheelZoom.js</a>,
2031-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/MouseWheelZoom.js#L299">line 299</a>
2031+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/MouseWheelZoom.js#L295">line 295</a>
20322032
</div>
20332033

20342034
</div>

dist/en/main/examples/common.js

+2-2
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

+1-1
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

+1-1
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

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/ol/dist/ol.d.ts

-2
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,6 @@ declare namespace ol {
470470
export namespace has {
471471
export { _ol_has$CREATE_IMAGE_BITMAP as CREATE_IMAGE_BITMAP };
472472
export { _ol_has$DEVICE_PIXEL_RATIO as DEVICE_PIXEL_RATIO };
473-
export { _ol_has$FIREFOX as FIREFOX };
474473
export { _ol_has$IMAGE_DECODE as IMAGE_DECODE };
475474
export { _ol_has$MAC as MAC };
476475
export { _ol_has$PASSIVE_EVENT_LISTENERS as PASSIVE_EVENT_LISTENERS };
@@ -1406,7 +1405,6 @@ import { transform2D as _ol_geom_flat_transform$transform2D } from '../../ol/geo
14061405
import { translate as _ol_geom_flat_transform$translate } from '../../ol/geom/flat/transform.js';
14071406
import { CREATE_IMAGE_BITMAP as _ol_has$CREATE_IMAGE_BITMAP } from '../../ol/has.js';
14081407
import { DEVICE_PIXEL_RATIO as _ol_has$DEVICE_PIXEL_RATIO } from '../../ol/has.js';
1409-
import { FIREFOX as _ol_has$FIREFOX } from '../../ol/has.js';
14101408
import { IMAGE_DECODE as _ol_has$IMAGE_DECODE } from '../../ol/has.js';
14111409
import { MAC as _ol_has$MAC } from '../../ol/has.js';
14121410
import { PASSIVE_EVENT_LISTENERS as _ol_has$PASSIVE_EVENT_LISTENERS } from '../../ol/has.js';

dist/en/main/ol/dist/ol.d.ts.map

+1-1
Large diffs are not rendered by default.

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

+1-1
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

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/ol/has.d.ts

-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/**
2-
* User agent string says we are dealing with Firefox as browser.
3-
* @type {boolean}
4-
*/
5-
export const FIREFOX: boolean;
61
/**
72
* User agent string says we are dealing with Safari as browser.
83
* @type {boolean}

dist/en/main/ol/has.d.ts.map

+1-1
Original file line numberDiff line numberDiff line change

dist/en/main/ol/has.js

-6
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@ const ua =
77
? navigator.userAgent.toLowerCase()
88
: '';
99

10-
/**
11-
* User agent string says we are dealing with Firefox as browser.
12-
* @type {boolean}
13-
*/
14-
export const FIREFOX = ua.includes('firefox');
15-
1610
/**
1711
* User agent string says we are dealing with Safari as browser.
1812
* @type {boolean}

dist/en/main/ol/interaction/MouseWheelZoom.d.ts.map

+1-1
Original file line numberDiff line numberDiff line change

dist/en/main/ol/interaction/MouseWheelZoom.js

-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
*/
44
import EventType from '../events/EventType.js';
55
import {all, always, focusWithTabindex} from '../events/condition.js';
6-
import {DEVICE_PIXEL_RATIO, FIREFOX} from '../has.js';
76
import {clamp} from '../math.js';
87
import Interaction, {zoomByDelta} from './Interaction.js';
98

@@ -196,9 +195,6 @@ class MouseWheelZoom extends Interaction {
196195
let delta;
197196
if (mapBrowserEvent.type == EventType.WHEEL) {
198197
delta = wheelEvent.deltaY;
199-
if (FIREFOX && wheelEvent.deltaMode === WheelEvent.DOM_DELTA_PIXEL) {
200-
delta /= DEVICE_PIXEL_RATIO;
201-
}
202198
if (wheelEvent.deltaMode === WheelEvent.DOM_DELTA_LINE) {
203199
delta *= 40;
204200
}

dist/main.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)