goatdee-canvas 0.0.81 → 0.0.82
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/dist/index.cjs +4 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4572,6 +4572,10 @@ function useCanvasImperativeHandle(ref, args) {
|
|
|
4572
4572
|
reportAction("switchToCrop", { cropping, mode });
|
|
4573
4573
|
await switchToCrop(cropping, mode);
|
|
4574
4574
|
},
|
|
4575
|
+
switchToMark: (marking) => {
|
|
4576
|
+
reportAction("switchToMark", { marking });
|
|
4577
|
+
switchToMark(marking);
|
|
4578
|
+
},
|
|
4575
4579
|
getCrop: () => getCrop(),
|
|
4576
4580
|
setCrop: (crop) => {
|
|
4577
4581
|
reportAction("setCrop", { crop });
|