regl-worldview
Advanced tools
Comparing version 0.3.0 to 0.3.1
{ | ||
"name": "regl-worldview", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "A reusable component for rendering 2D and 3D views using regl", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
@@ -161,3 +161,13 @@ // @flow | ||
this._tick = undefined; | ||
worldviewContext.paint(); | ||
try { | ||
worldviewContext.paint(); | ||
} catch (error) { | ||
// Regl automatically tries to reconnect when losing the canvas 3d context. | ||
// We should log this error, but it's not important to throw it. | ||
if (error.message === "(regl) context lost") { | ||
console.warn(error); | ||
} else { | ||
throw error; | ||
} | ||
} | ||
}); | ||
@@ -164,0 +174,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 2 instances in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 2 instances in 1 package
16465
4
2648857