@pixerate/editor 0.187.0 → 0.188.0
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/{chunk-FW7N64XK.js → chunk-IGMNJM2H.js} +221 -20
- package/dist/{chunk-X2KQQZBT.cjs → chunk-JYV4R62M.cjs} +381 -180
- package/dist/image-editor/controller.d.cts +3 -3
- package/dist/image-editor/controller.d.ts +3 -3
- package/dist/image-editor/index.cjs +729 -714
- package/dist/image-editor/index.js +59 -44
- package/dist/image-editor/selection/mask.d.cts +20 -1
- package/dist/image-editor/selection/mask.d.ts +20 -1
- package/dist/image-editor/selection/shapes.d.cts +8 -0
- package/dist/image-editor/selection/shapes.d.ts +8 -0
- package/dist/image-editor/selection/tool-options.d.cts +1 -1
- package/dist/image-editor/selection/tool-options.d.ts +1 -1
- package/dist/paint-editor/index.cjs +6 -6
- package/dist/paint-editor/index.js +1 -1
- package/package.json +1 -1
|
@@ -724,8 +724,8 @@ export declare class ImageEditorController {
|
|
|
724
724
|
private asOneStep;
|
|
725
725
|
private recordHistory;
|
|
726
726
|
/**
|
|
727
|
-
* Bytes of pixel tiles held only by undo / redo steps (not by the
|
|
728
|
-
* undo steps are dropped while it exceeds `maxHistoryBytes`.
|
|
727
|
+
* Bytes of pixel, selection and channel tiles held only by undo / redo steps (not by the
|
|
728
|
+
* current state). The oldest undo steps are dropped while it exceeds `maxHistoryBytes`.
|
|
729
729
|
*/
|
|
730
730
|
get historyBytes(): number;
|
|
731
731
|
private trimHistoryBytes;
|
|
@@ -1559,7 +1559,7 @@ export declare class ImageEditorController {
|
|
|
1559
1559
|
setQuickMaskMode(on: boolean): void;
|
|
1560
1560
|
/** The selection as a 1-channel surface to paint in Quick Mask mode. */
|
|
1561
1561
|
private quickMaskSurface;
|
|
1562
|
-
/** The selection a painted Quick Mask surface stands for (
|
|
1562
|
+
/** The selection a painted Quick Mask surface stands for (it shares the surface's tiles). */
|
|
1563
1563
|
private selectionFromSurface;
|
|
1564
1564
|
private maskFromSelection;
|
|
1565
1565
|
/**
|
|
@@ -724,8 +724,8 @@ export declare class ImageEditorController {
|
|
|
724
724
|
private asOneStep;
|
|
725
725
|
private recordHistory;
|
|
726
726
|
/**
|
|
727
|
-
* Bytes of pixel tiles held only by undo / redo steps (not by the
|
|
728
|
-
* undo steps are dropped while it exceeds `maxHistoryBytes`.
|
|
727
|
+
* Bytes of pixel, selection and channel tiles held only by undo / redo steps (not by the
|
|
728
|
+
* current state). The oldest undo steps are dropped while it exceeds `maxHistoryBytes`.
|
|
729
729
|
*/
|
|
730
730
|
get historyBytes(): number;
|
|
731
731
|
private trimHistoryBytes;
|
|
@@ -1559,7 +1559,7 @@ export declare class ImageEditorController {
|
|
|
1559
1559
|
setQuickMaskMode(on: boolean): void;
|
|
1560
1560
|
/** The selection as a 1-channel surface to paint in Quick Mask mode. */
|
|
1561
1561
|
private quickMaskSurface;
|
|
1562
|
-
/** The selection a painted Quick Mask surface stands for (
|
|
1562
|
+
/** The selection a painted Quick Mask surface stands for (it shares the surface's tiles). */
|
|
1563
1563
|
private selectionFromSurface;
|
|
1564
1564
|
private maskFromSelection;
|
|
1565
1565
|
/**
|