openvideo 0.2.5 → 0.2.7

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.
@@ -1,4 +1,4 @@
1
- import { Application, Sprite, Texture, Container, TilingSprite } from 'pixi.js';
1
+ import { Application, Sprite, Texture, Container } from 'pixi.js';
2
2
  import { IClip } from '../clips/iclip';
3
3
  /**
4
4
  * Update sprite transform based on clip properties
@@ -15,6 +15,9 @@ export declare class PixiSpriteRenderer {
15
15
  private sprite;
16
16
  private targetContainer;
17
17
  private pixiSprite;
18
+ private mirrorSprites;
19
+ private mirrorContainer;
20
+ private isMirrorActive;
18
21
  private texture;
19
22
  private canvas;
20
23
  private context;
@@ -47,7 +50,7 @@ export declare class PixiSpriteRenderer {
47
50
  private applyBrightness;
48
51
  private applyChromaKey;
49
52
  updateTransforms(): void;
50
- getSprite(): Sprite | TilingSprite | null;
53
+ getSprite(): Sprite | null;
51
54
  getRoot(): Container | null;
52
55
  destroy(): void;
53
56
  }
@@ -23,6 +23,11 @@ export declare class Transformer extends Container {
23
23
  artboardWidth?: number;
24
24
  artboardHeight?: number;
25
25
  });
26
+ /**
27
+ * Immediately initialize bounds and show transformer.
28
+ * Useful when we want to show it without waiting for the next tick.
29
+ */
30
+ showImmediate(): void;
26
31
  /**
27
32
  * Public method to update transformer bounds without recreating it
28
33
  * Useful for updating bounds after clip dimensions change
@@ -1,4 +1,4 @@
1
- import { e as a, R as e, T as d, G as i, b as s, M as t, c as p, d as P, f as n, g as r, B as T, H as l, h as c, i as m, N as x, j as S, k as o } from "./index-CPuuXWdR.js";
1
+ import { e as a, R as e, T as d, G as i, b as s, M as t, c as p, d as P, f as n, g as r, B as T, H as l, h as c, i as m, N as x, j as S, k as o } from "./index-C8AGBOoN.js";
2
2
  a.add(e);
3
3
  a.add(d);
4
4
  a.add(i);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openvideo",
3
- "version": "0.2.5",
3
+ "version": "0.2.7",
4
4
  "description": "Video rendering and processing library",
5
5
  "type": "module",
6
6
  "publishConfig": {