Skip to content

Commit 9de91ec

Browse files
committed
fix: minor bug fixes
1 parent eeb0425 commit 9de91ec

File tree

4 files changed

+26
-27
lines changed

4 files changed

+26
-27
lines changed

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@api.stream/studio-kit",
3-
"version": "3.0.36",
3+
"version": "3.0.37",
44
"description": "Client SDK for building studio experiences with API.stream",
55
"license": "MIT",
66
"private": false,

src/core/transforms/GameSource.tsx

+21-21
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ const OfflineIcon = () => (
2727
y2="200"
2828
fill="none"
2929
stroke="currentColor"
30-
stroke-linecap="round"
31-
stroke-linejoin="round"
32-
stroke-width="16"
30+
strokeLinecap="round"
31+
strokeLinejoin="round"
32+
strokeWidth="16"
3333
/>
3434
<line
3535
x1="40"
@@ -38,9 +38,9 @@ const OfflineIcon = () => (
3838
y2="200"
3939
fill="none"
4040
stroke="currentColor"
41-
stroke-linecap="round"
42-
stroke-linejoin="round"
43-
stroke-width="16"
41+
strokeLinecap="round"
42+
strokeLinejoin="round"
43+
strokeWidth="16"
4444
/>
4545
<line
4646
x1="48"
@@ -49,9 +49,9 @@ const OfflineIcon = () => (
4949
y2="216"
5050
fill="none"
5151
stroke="currentColor"
52-
stroke-linecap="round"
53-
stroke-linejoin="round"
54-
stroke-width="16"
52+
strokeLinecap="round"
53+
strokeLinejoin="round"
54+
strokeWidth="16"
5555
/>
5656
<line
5757
x1="160"
@@ -60,9 +60,9 @@ const OfflineIcon = () => (
6060
y2="200"
6161
fill="none"
6262
stroke="currentColor"
63-
stroke-linecap="round"
64-
stroke-linejoin="round"
65-
stroke-width="16"
63+
strokeLinecap="round"
64+
strokeLinejoin="round"
65+
strokeWidth="16"
6666
/>
6767
<line
6868
x1="160"
@@ -71,9 +71,9 @@ const OfflineIcon = () => (
7171
y2="115.63"
7272
fill="none"
7373
stroke="currentColor"
74-
stroke-linecap="round"
75-
stroke-linejoin="round"
76-
stroke-width="16"
74+
strokeLinecap="round"
75+
strokeLinejoin="round"
76+
strokeWidth="16"
7777
/>
7878
<line
7979
x1="200"
@@ -82,9 +82,9 @@ const OfflineIcon = () => (
8282
y2="159.63"
8383
fill="none"
8484
stroke="currentColor"
85-
stroke-linecap="round"
86-
stroke-linejoin="round"
87-
stroke-width="16"
85+
strokeLinecap="round"
86+
strokeLinejoin="round"
87+
strokeWidth="16"
8888
/>
8989
<line
9090
x1="120"
@@ -93,9 +93,9 @@ const OfflineIcon = () => (
9393
y2="200"
9494
fill="none"
9595
stroke="currentColor"
96-
stroke-linecap="round"
97-
stroke-linejoin="round"
98-
stroke-width="16"
96+
strokeLinecap="round"
97+
strokeLinejoin="round"
98+
strokeWidth="16"
9999
/>
100100
</svg>
101101
)

src/helpers/sceneless-project.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ export const commands = (_project: ScenelessProject) => {
743743
return content.props.layout
744744
},
745745
getBanners() {
746-
return (getProject(_project.id).props?.banners || []) as Banner[]
746+
return (getProject(_project.id)?.props?.banners || []) as Banner[]
747747
},
748748
getParticipants() {
749749
return content.children.concat(audioContainer.children).filter((node) => {
@@ -1267,7 +1267,6 @@ export const commands = (_project: ScenelessProject) => {
12671267

12681268
const extendedDefaultStyles = {
12691269
...defaultStyles['alert'],
1270-
...(foregroundVideoContainer?.children.length && { opacity: 0 }),
12711270
}
12721271

12731272
const { x: rootWidth } = root.props.size
@@ -2184,7 +2183,7 @@ export const commands = (_project: ScenelessProject) => {
21842183
})
21852184
},
21862185
getProp(prop) {
2187-
return getProject(_project.id).props[prop]
2186+
return getProject(_project.id)?.props[prop]
21882187
},
21892188
setProp(prop, val) {
21902189
return Command.updateProjectProps({

0 commit comments

Comments
 (0)