@vectoriox/iox-builder 1.4.9 → 1.4.11
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
|
@@ -717,6 +717,7 @@ declare class BuilderComponent implements OnInit, AfterViewInit, OnChanges, OnDe
|
|
|
717
717
|
private lenis?;
|
|
718
718
|
private lenisRafId?;
|
|
719
719
|
private canvasRo?;
|
|
720
|
+
private previewFrameRo?;
|
|
720
721
|
private canvasContentHeight;
|
|
721
722
|
handleToolbarModeChange(mode: BuilderMode): void;
|
|
722
723
|
handleToolbarDeviceChange(device: DeviceMode): void;
|
|
@@ -751,10 +752,10 @@ declare class BuilderComponent implements OnInit, AfterViewInit, OnChanges, OnDe
|
|
|
751
752
|
ngAfterViewInit(): void;
|
|
752
753
|
ngOnDestroy(): void;
|
|
753
754
|
/**
|
|
754
|
-
* Set --preview-vh on .preview-scroll so that
|
|
755
|
-
*
|
|
756
|
-
*
|
|
757
|
-
* Falls back to 1vh in
|
|
755
|
+
* Set --preview-vh on .preview-scroll so that 100vh fills the visible canvas
|
|
756
|
+
* frame at the current scale. Value = canvas frame height ÷ scale ÷ 100, so
|
|
757
|
+
* calc(100 * var(--preview-vh)) equals the frame height in canvas-space pixels.
|
|
758
|
+
* Falls back to 1vh in the live page (no --preview-vh defined there).
|
|
758
759
|
*/
|
|
759
760
|
private updatePreviewVh;
|
|
760
761
|
private initLenis;
|