@league-of-foundry-developers/foundry-vtt-types 9.280.0 → 9.280.1
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
CHANGED
@@ -42,6 +42,12 @@ declare global {
|
|
42
42
|
*/
|
43
43
|
hud: HeadsUpDisplay | null;
|
44
44
|
|
45
|
+
/**
|
46
|
+
* Position of the mouse on stage.
|
47
|
+
* @type {PIXI.Point}
|
48
|
+
*/
|
49
|
+
mousePosition: PIXI.Point;
|
50
|
+
|
45
51
|
/**
|
46
52
|
* An Array of pending canvas operations which should trigger on the next re-paint
|
47
53
|
* @defaultValue `[]`
|
@@ -328,7 +334,7 @@ declare global {
|
|
328
334
|
* (default: `{}`)
|
329
335
|
* @returns A Promise which resolves once the animation has been completed
|
330
336
|
*/
|
331
|
-
animatePan(view?:
|
337
|
+
animatePan(view?: AnimatedPanView): ReturnType<typeof CanvasAnimation.animateLinear>;
|
332
338
|
|
333
339
|
/**
|
334
340
|
* Recenter the canvas
|
@@ -575,28 +581,28 @@ interface AnimatedPanView {
|
|
575
581
|
/**
|
576
582
|
* The destination x-coordinate
|
577
583
|
*/
|
578
|
-
x?: number;
|
584
|
+
x?: number | null;
|
579
585
|
|
580
586
|
/**
|
581
587
|
* The destination y-coordinate
|
582
588
|
*/
|
583
|
-
y?: number;
|
589
|
+
y?: number | null;
|
584
590
|
|
585
591
|
/**
|
586
592
|
* The destination zoom scale
|
587
593
|
*/
|
588
|
-
scale?: number;
|
594
|
+
scale?: number | null;
|
589
595
|
|
590
596
|
/**
|
591
597
|
* The total duration of the animation in milliseconds; used if speed is not set
|
592
598
|
* @defaultValue 250
|
593
599
|
*/
|
594
|
-
duration
|
600
|
+
duration?: number | null;
|
595
601
|
|
596
602
|
/**
|
597
603
|
* The speed of animation in pixels per second; overrides duration if set
|
598
604
|
*/
|
599
|
-
speed?: number;
|
605
|
+
speed?: number | null;
|
600
606
|
}
|
601
607
|
|
602
608
|
interface EmbeddedEntityNameToLayerMap {
|