@rive-app/canvas-advanced-lite 2.23.7 → 2.23.9
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/canvas_advanced.mjs +1 -1
- package/package.json +1 -1
- package/rive.wasm +0 -0
- package/rive_fallback.wasm +0 -0
package/canvas_advanced.mjs
CHANGED
|
@@ -138,7 +138,7 @@ h.onRuntimeInitialized = function() {
|
|
|
138
138
|
const fa = "createConicGradient createImageData createLinearGradient createPattern createRadialGradient getContextAttributes getImageData getLineDash getTransform isContextLost isPointInPath isPointInStroke measureText".split(" "), ha = new function() {
|
|
139
139
|
function b() {
|
|
140
140
|
if (!a) {
|
|
141
|
-
var g = document.createElement("canvas"), r = {alpha:1, depth:0, stencil:0, antialias:0, premultipliedAlpha:1, preserveDrawingBuffer:0,
|
|
141
|
+
var g = document.createElement("canvas"), r = {alpha:1, depth:0, stencil:0, antialias:0, premultipliedAlpha:1, preserveDrawingBuffer:0, powerPreference:"high-performance", failIfMajorPerformanceCaveat:0, enableExtensionsByDefault:1, explicitSwapControl:1, renderViaOffscreenBackBuffer:1,};
|
|
142
142
|
let q;
|
|
143
143
|
if (/iPhone|iPad|iPod/i.test(navigator.userAgent)) {
|
|
144
144
|
if (q = g.getContext("webgl", r), c = 1, !q) {
|
package/package.json
CHANGED
package/rive.wasm
CHANGED
|
Binary file
|
package/rive_fallback.wasm
CHANGED
|
Binary file
|