ugcinc-render 1.8.40 → 1.8.41
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/index.js +6 -6
- package/dist/index.mjs +6 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2638,9 +2638,9 @@ function ScreenshotAnimation({
|
|
|
2638
2638
|
style: {
|
|
2639
2639
|
position: "absolute",
|
|
2640
2640
|
left: 0,
|
|
2641
|
-
top:
|
|
2642
|
-
width:
|
|
2643
|
-
height:
|
|
2641
|
+
top: contentTopOffset,
|
|
2642
|
+
width: smallClipWidth,
|
|
2643
|
+
height: smallClipHeight,
|
|
2644
2644
|
overflow: "hidden",
|
|
2645
2645
|
borderRadius: `${innerTopRadius}px ${innerTopRadius}px ${innerBottomRadius}px ${innerBottomRadius}px`
|
|
2646
2646
|
},
|
|
@@ -2649,8 +2649,8 @@ function ScreenshotAnimation({
|
|
|
2649
2649
|
{
|
|
2650
2650
|
src: imageUrl,
|
|
2651
2651
|
style: {
|
|
2652
|
-
width:
|
|
2653
|
-
height:
|
|
2652
|
+
width: smallClipWidth,
|
|
2653
|
+
height: smallClipWidth * (height / width),
|
|
2654
2654
|
objectFit: "fill"
|
|
2655
2655
|
}
|
|
2656
2656
|
}
|
|
@@ -2701,7 +2701,7 @@ function ScreenshotAnimation({
|
|
|
2701
2701
|
textShadow: "0 0 4px black"
|
|
2702
2702
|
},
|
|
2703
2703
|
children: [
|
|
2704
|
-
"v1.8.
|
|
2704
|
+
"v1.8.41 | phase2: ",
|
|
2705
2705
|
Math.round(phase2TimeMs),
|
|
2706
2706
|
"ms"
|
|
2707
2707
|
]
|
package/dist/index.mjs
CHANGED
|
@@ -1775,9 +1775,9 @@ function ScreenshotAnimation({
|
|
|
1775
1775
|
style: {
|
|
1776
1776
|
position: "absolute",
|
|
1777
1777
|
left: 0,
|
|
1778
|
-
top:
|
|
1779
|
-
width:
|
|
1780
|
-
height:
|
|
1778
|
+
top: contentTopOffset,
|
|
1779
|
+
width: smallClipWidth,
|
|
1780
|
+
height: smallClipHeight,
|
|
1781
1781
|
overflow: "hidden",
|
|
1782
1782
|
borderRadius: `${innerTopRadius}px ${innerTopRadius}px ${innerBottomRadius}px ${innerBottomRadius}px`
|
|
1783
1783
|
},
|
|
@@ -1786,8 +1786,8 @@ function ScreenshotAnimation({
|
|
|
1786
1786
|
{
|
|
1787
1787
|
src: imageUrl,
|
|
1788
1788
|
style: {
|
|
1789
|
-
width:
|
|
1790
|
-
height:
|
|
1789
|
+
width: smallClipWidth,
|
|
1790
|
+
height: smallClipWidth * (height / width),
|
|
1791
1791
|
objectFit: "fill"
|
|
1792
1792
|
}
|
|
1793
1793
|
}
|
|
@@ -1838,7 +1838,7 @@ function ScreenshotAnimation({
|
|
|
1838
1838
|
textShadow: "0 0 4px black"
|
|
1839
1839
|
},
|
|
1840
1840
|
children: [
|
|
1841
|
-
"v1.8.
|
|
1841
|
+
"v1.8.41 | phase2: ",
|
|
1842
1842
|
Math.round(phase2TimeMs),
|
|
1843
1843
|
"ms"
|
|
1844
1844
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ugcinc-render",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.41",
|
|
4
4
|
"description": "Unified rendering package for UGC Inc - shared types, components, and compositions for pixel-perfect client/server rendering",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|