Skip to content

Commit

Permalink
[VER]
Browse files Browse the repository at this point in the history
  • Loading branch information
Viglino committed Jul 17, 2024
1 parent d5e562c commit c75576e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions dist/ol-ext.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* ol-ext - A set of cool extensions for OpenLayers (ol) in node modules structure
* @description ol3,openlayers,popup,menu,symbol,renderer,filter,canvas,interaction,split,statistic,charts,pie,LayerSwitcher,toolbar,animation
* @version v4.0.19
* @version v4.0.20
* @author Jean-Marc Viglino
* @see https://github.com/Viglino/ol-ext#,
* @license BSD-3-Clause
Expand Down Expand Up @@ -18120,10 +18120,10 @@ ol.control.Swipe = class olcontrolSwipe extends ol.control.Control {
if (ctx instanceof WebGLRenderingContext) {
if (e.type === 'prerender') {
// Clear
if (this._time != e.frameState.time) {
if (this._lefttime != e.frameState.time) {
ctx.clearColor(0, 0, 0, 0);
ctx.clear(ctx.COLOR_BUFFER_BIT);
this._time = e.frameState.time
this._lefttime = e.frameState.time;
}
// Clip
ctx.enable(ctx.SCISSOR_TEST);
Expand Down Expand Up @@ -18173,10 +18173,10 @@ ol.control.Swipe = class olcontrolSwipe extends ol.control.Control {
if (ctx instanceof WebGLRenderingContext) {
if (e.type === 'prerender') {
// Clear
if (this._time != e.frameState.time) {
if (this._righttime != e.frameState.time) {
ctx.clearColor(0, 0, 0, 0);
ctx.clear(ctx.COLOR_BUFFER_BIT);
this._time = e.frameState.time
this._righttime = e.frameState.time;
}
// Clip
ctx.enable(ctx.SCISSOR_TEST);
Expand Down
4 changes: 2 additions & 2 deletions dist/ol-ext.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ol-ext",
"version": "4.0.19",
"version": "4.0.20",
"description": "A set of cool extensions for OpenLayers (ol) in node modules structure",
"main": "dist/ol-ext.js",
"style": "dist/ol-ext.css",
Expand Down

0 comments on commit c75576e

Please sign in to comment.