@rive-app/webgl-single 2.9.0 → 2.9.2
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 +1 -1
- package/rive.d.ts +1 -1
- package/rive.js +4 -4
- package/rive.js.map +1 -1
package/package.json
CHANGED
package/rive.d.ts
CHANGED
|
@@ -394,7 +394,7 @@ export declare class Rive {
|
|
|
394
394
|
* and resize the layout to match the new drawing surface afterwards.
|
|
395
395
|
* Useful function for consumers to include in a window resize listener
|
|
396
396
|
*/
|
|
397
|
-
resizeDrawingSurfaceToCanvas(): void;
|
|
397
|
+
resizeDrawingSurfaceToCanvas(customDevicePixelRatio?: number): void;
|
|
398
398
|
get source(): string;
|
|
399
399
|
/**
|
|
400
400
|
* Returns the name of the active artboard
|