laymur 0.3.21 → 0.3.23

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,5 +1,6 @@
1
1
  import { type Camera, type Vector3, type WebGLRenderer } from "three";
2
2
  import type { UIResizePolicy } from "../miscellaneous/resizePolicies";
3
+ import { UIMode } from "../miscellaneous/UIMode";
3
4
  import { UILayer } from "./UILayer";
4
5
  /**
5
6
  * UI layer that covers the full browser window.
@@ -15,7 +16,7 @@ export declare class UIFullscreenLayer extends UILayer {
15
16
  /**
16
17
  * Creates a fullscreen layer and sets up window event listeners.
17
18
  */
18
- constructor(resizePolicy?: UIResizePolicy);
19
+ constructor(resizePolicy?: UIResizePolicy, mode?: UIMode);
19
20
  /**
20
21
  * Gets the current resize policy.
21
22
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "laymur",
3
- "version": "0.3.21",
3
+ "version": "0.3.23",
4
4
  "description": "Constraint-based UI library for Three.js mobile advertisements",
5
5
  "scripts": {
6
6
  "clean": "rm -rf dist",