ol 7.0.0-dev.1660306636479 → 7.0.0-dev.1660400661997

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,6 +1,6 @@
1
1
  {
2
2
  "name": "ol",
3
- "version": "7.0.0-dev.1660306636479",
3
+ "version": "7.0.0-dev.1660400661997",
4
4
  "description": "OpenLayers mapping library",
5
5
  "keywords": [
6
6
  "map",
@@ -503,7 +503,7 @@ Operators['band'] = {
503
503
  for (let i = 0; i < bandCount; i++) {
504
504
  const colorIndex = Math.floor(i / 4);
505
505
  let bandIndex = i % 4;
506
- if (bandIndex === bandCount - 1 && bandIndex === 1) {
506
+ if (i === bandCount - 1 && bandIndex === 1) {
507
507
  // LUMINANCE_ALPHA - band 1 assigned to rgb and band 2 assigned to alpha
508
508
  bandIndex = 3;
509
509
  }
package/util.js CHANGED
@@ -33,4 +33,4 @@ export function getUid(obj) {
33
33
  * OpenLayers version.
34
34
  * @type {string}
35
35
  */
36
- export const VERSION = '7.0.0-dev.1660306636479';
36
+ export const VERSION = '7.0.0-dev.1660400661997';