@codemirror/view 6.39.2 → 6.39.3
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/CHANGELOG.md +6 -0
- package/dist/index.cjs +2 -3
- package/dist/index.js +2 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -2649,6 +2649,7 @@ class TileUpdate {
|
|
|
2649
2649
|
else if (tile instanceof MarkTile) {
|
|
2650
2650
|
this.builder.addMark(tile, activeMarks, openMarks);
|
|
2651
2651
|
this.cache.reused.set(tile, 1 /* Reused.Full */);
|
|
2652
|
+
openMarks = activeMarks.length;
|
|
2652
2653
|
}
|
|
2653
2654
|
else {
|
|
2654
2655
|
return false;
|
|
@@ -2661,10 +2662,8 @@ class TileUpdate {
|
|
|
2661
2662
|
}
|
|
2662
2663
|
else {
|
|
2663
2664
|
this.cache.add(tile);
|
|
2664
|
-
if (tile instanceof MarkTile)
|
|
2665
|
+
if (tile instanceof MarkTile)
|
|
2665
2666
|
activeMarks.unshift(tile.mark);
|
|
2666
|
-
openMarks++;
|
|
2667
|
-
}
|
|
2668
2667
|
}
|
|
2669
2668
|
this.openWidget = false;
|
|
2670
2669
|
},
|
package/dist/index.js
CHANGED
|
@@ -2645,6 +2645,7 @@ class TileUpdate {
|
|
|
2645
2645
|
else if (tile instanceof MarkTile) {
|
|
2646
2646
|
this.builder.addMark(tile, activeMarks, openMarks);
|
|
2647
2647
|
this.cache.reused.set(tile, 1 /* Reused.Full */);
|
|
2648
|
+
openMarks = activeMarks.length;
|
|
2648
2649
|
}
|
|
2649
2650
|
else {
|
|
2650
2651
|
return false;
|
|
@@ -2657,10 +2658,8 @@ class TileUpdate {
|
|
|
2657
2658
|
}
|
|
2658
2659
|
else {
|
|
2659
2660
|
this.cache.add(tile);
|
|
2660
|
-
if (tile instanceof MarkTile)
|
|
2661
|
+
if (tile instanceof MarkTile)
|
|
2661
2662
|
activeMarks.unshift(tile.mark);
|
|
2662
|
-
openMarks++;
|
|
2663
|
-
}
|
|
2664
2663
|
}
|
|
2665
2664
|
this.openWidget = false;
|
|
2666
2665
|
},
|