Skip to content

Commit bf84734

Browse files
authored
fix(Presenter Screen): Diff is showing incorrect values (#1491)
1 parent 2cd0f80 commit bf84734

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,13 +289,13 @@ body.prompter-scrollbar {
289289
&.heavy-light {
290290
font-weight: 600;
291291

292-
&.heavy {
292+
&.light {
293293
// color: $general-late-color;
294294
background-color: #ffe900;
295295
color: #000;
296296
}
297297

298-
&.light {
298+
&.heavy {
299299
background-color: $general-fast-color;
300300
color: #fff;
301301
text-shadow: 1px 1px 0px #000, 1px -1px 0px #000, -1px -1px 0px #000, -1px 1px 0px #000;

packages/webui/src/client/ui/ClockView/PresenterScreen.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,9 @@ export function usePresenterScreenSubscriptions(props: PresenterScreenProps): vo
341341

342342
useSubscription(CorelibPubSub.segments, rundownIds, {})
343343
useSubscription(CorelibPubSub.parts, rundownIds, null)
344+
useSubscription(MeteorPubSub.uiParts, playlist?._id ?? null)
344345
useSubscription(MeteorPubSub.uiPartInstances, playlist?.activationId ?? null)
346+
useSubscription(CorelibPubSub.pieces, rundownIds, null)
345347
useSubscriptions(
346348
MeteorPubSub.uiShowStyleBase,
347349
showStyleBaseIds.map((id) => [id])

packages/webui/src/client/ui/Prompter/OverUnderTimer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ export const OverUnderTimer = withTiming<IProps, {}>()(function OverUnderTimer({
2424
<span
2525
style={style}
2626
className={ClassNames('prompter-timing-clock heavy-light', {
27-
heavy: Math.floor(overUnderClock / 1000) < 0,
28-
light: Math.floor(overUnderClock / 1000) >= 0,
27+
light: Math.floor(overUnderClock / 1000) < 0,
28+
heavy: Math.floor(overUnderClock / 1000) >= 0,
2929
})}
3030
>
3131
{RundownUtils.formatDiffToTimecode(overUnderClock, true, false, true, true, true, undefined, true, true)}

0 commit comments

Comments
 (0)