Skip to content

Commit 1417440

Browse files
committed
chore: fix some z-order issues
1 parent 5822443 commit 1417440

File tree

4 files changed

+27
-24
lines changed

4 files changed

+27
-24
lines changed

packages/webui/src/client/styles/shelf/shelf.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
left: 0;
1212
right: 60px;
1313
bottom: 0;
14-
z-index: 291;
14+
z-index: 289;
1515
box-shadow: 0 0 20px #000;
1616

1717
&.full-viewport {

packages/webui/src/client/styles/supportAndSwitchboardPanel.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
z-index: 290;
4343
min-height: rem(50px);
4444
max-width: rem(350px);
45+
color-scheme: light;
4546

4647
.support-pop-up-panel__actions {
4748
margin-top: 1em;

packages/webui/src/client/ui/PreviewPopUp/PreviewPopUpContext.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,11 @@ export function convertSourceLayerItemToPreview(
170170
) {
171171
try {
172172
const payload = JSONBlobParse<NoraPayload>(item.content.previewPayload)
173-
const tableProps = Object.entries<unknown>(payload.content)
174-
.filter(([key, value]) => !(key.startsWith('_') || key.startsWith('@') || value === ''))
175-
.map(([key, value]) => ({ key, value }))
173+
const tableProps = payload.content
174+
? Object.entries<unknown>(payload.content)
175+
.filter(([key, value]) => !(key.startsWith('_') || key.startsWith('@') || value === ''))
176+
.map(([key, value]) => ({ key, value }))
177+
: []
176178

177179
return {
178180
contents: _.compact([

packages/webui/src/client/ui/RundownView.tsx

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3156,6 +3156,26 @@ const RundownViewContent = translateWithTracker<IPropsWithReady, IState, ITracke
31563156
showStyleVariant={showStyleVariant}
31573157
/>
31583158
</ErrorBoundary>
3159+
<ErrorBoundary>
3160+
<Shelf
3161+
buckets={this.props.buckets}
3162+
isExpanded={
3163+
this.state.isInspectorShelfExpanded ||
3164+
(!this.state.wasShelfResizedByUser && this.state.shelfLayout?.openByDefault)
3165+
}
3166+
onChangeExpanded={this.onShelfChangeExpanded}
3167+
hotkeys={this.defaultHotkeys(t)}
3168+
playlist={this.props.playlist}
3169+
showStyleBase={this.props.showStyleBase}
3170+
showStyleVariant={this.props.showStyleVariant}
3171+
studioMode={this.props.userPermissions.studio}
3172+
onChangeBottomMargin={this.onChangeBottomMargin}
3173+
rundownLayout={this.state.shelfLayout}
3174+
shelfDisplayOptions={this.props.shelfDisplayOptions}
3175+
bucketDisplayFilter={this.props.bucketDisplayFilter}
3176+
studio={this.props.studio}
3177+
/>
3178+
</ErrorBoundary>
31593179
<ErrorBoundary>
31603180
{this.props.userPermissions.studio && !Settings.disableBlurBorder && (
31613181
<KeyboardFocusIndicator userPermissions={this.props.userPermissions}>
@@ -3292,26 +3312,6 @@ const RundownViewContent = translateWithTracker<IPropsWithReady, IState, ITracke
32923312
<ErrorBoundary>
32933313
<PointerLockCursor />
32943314
</ErrorBoundary>
3295-
<ErrorBoundary>
3296-
<Shelf
3297-
buckets={this.props.buckets}
3298-
isExpanded={
3299-
this.state.isInspectorShelfExpanded ||
3300-
(!this.state.wasShelfResizedByUser && this.state.shelfLayout?.openByDefault)
3301-
}
3302-
onChangeExpanded={this.onShelfChangeExpanded}
3303-
hotkeys={this.defaultHotkeys(t)}
3304-
playlist={this.props.playlist}
3305-
showStyleBase={this.props.showStyleBase}
3306-
showStyleVariant={this.props.showStyleVariant}
3307-
studioMode={this.props.userPermissions.studio}
3308-
onChangeBottomMargin={this.onChangeBottomMargin}
3309-
rundownLayout={this.state.shelfLayout}
3310-
shelfDisplayOptions={this.props.shelfDisplayOptions}
3311-
bucketDisplayFilter={this.props.bucketDisplayFilter}
3312-
studio={this.props.studio}
3313-
/>
3314-
</ErrorBoundary>
33153315
<ErrorBoundary>
33163316
{this.props.playlist && this.props.studio && this.props.showStyleBase && (
33173317
<RundownNotifier playlistId={this.props.playlist._id} studio={this.props.studio} />

0 commit comments

Comments
 (0)