@@ -405,7 +405,7 @@ function DirectorScreenRender({
405405 label = { currentSegment ?. name || '' }
406406 width = { '80vw' }
407407 fontFamily = "Roboto Flex"
408- fontSize = "0.8em "
408+ fontSize = "0.7em "
409409 minFontWidth = { 70 }
410410 maxFontWidth = { 90 }
411411 minLetterSpacing = { 0 }
@@ -429,43 +429,45 @@ function DirectorScreenRender({
429429 playlistActivationId = { playlist ?. activationId }
430430 />
431431 </ div >
432- < div className = "director-screen__body__part__piece-name" >
433- < PieceNameContainer
434- partName = { currentPartInstance . instance . part . title }
435- partInstanceId = { currentPartInstance . instance . _id }
436- showStyleBaseId = { currentShowStyleBaseId }
437- rundownIds = { rundownIds }
438- playlistActivationId = { playlist ?. activationId }
439- autowidth = { {
440- label : '' ,
441- width : '90vw' ,
442- fontFamily : 'Roboto Flex' ,
443- fontSize : '1.6em' ,
444- minFontWidth : 20 ,
445- maxFontWidth : 90 ,
446- minLetterSpacing : 2 ,
447- } }
448- />
449- </ div >
450- < div className = "director-screen__body__part__piece-countdown" >
451- { currentSegment ?. segmentTiming ?. countdownType === CountdownType . SEGMENT_BUDGET_DURATION ? (
452- < CurrentPartOrSegmentRemaining
453- currentPartInstanceId = { currentPartInstance . instance . _id }
454- heavyClassName = "overtime"
455- />
456- ) : (
457- < PieceCountdownContainer
432+ < div className = "director-screen__body__part__piece-content" >
433+ < div className = "director-screen__body__part__piece-name" >
434+ < PieceNameContainer
435+ partName = { currentPartInstance . instance . part . title }
458436 partInstanceId = { currentPartInstance . instance . _id }
459437 showStyleBaseId = { currentShowStyleBaseId }
460438 rundownIds = { rundownIds }
461- partAutoNext = { currentPartInstance . instance . part . autoNext || false }
462- partExpectedDuration = { calculatePartInstanceExpectedDurationWithTransition (
463- currentPartInstance . instance
464- ) }
465- partStartedPlayback = { currentPartInstance . instance . timings ?. plannedStartedPlayback }
466439 playlistActivationId = { playlist ?. activationId }
440+ autowidth = { {
441+ label : '' ,
442+ width : '90vw' ,
443+ fontFamily : 'Roboto Flex' ,
444+ fontSize : '1.4em' ,
445+ minFontWidth : 20 ,
446+ maxFontWidth : 90 ,
447+ minLetterSpacing : 2 ,
448+ } }
467449 />
468- ) }
450+ </ div >
451+ < div className = "director-screen__body__part__piece-countdown" >
452+ { currentSegment ?. segmentTiming ?. countdownType === CountdownType . SEGMENT_BUDGET_DURATION ? (
453+ < CurrentPartOrSegmentRemaining
454+ currentPartInstanceId = { currentPartInstance . instance . _id }
455+ heavyClassName = "overtime"
456+ />
457+ ) : (
458+ < PieceCountdownContainer
459+ partInstanceId = { currentPartInstance . instance . _id }
460+ showStyleBaseId = { currentShowStyleBaseId }
461+ rundownIds = { rundownIds }
462+ partAutoNext = { currentPartInstance . instance . part . autoNext || false }
463+ partExpectedDuration = { calculatePartInstanceExpectedDurationWithTransition (
464+ currentPartInstance . instance
465+ ) }
466+ partStartedPlayback = { currentPartInstance . instance . timings ?. plannedStartedPlayback }
467+ playlistActivationId = { playlist ?. activationId }
468+ />
469+ ) }
470+ </ div >
469471 </ div >
470472 </ >
471473 ) : expectedStart ? (
@@ -489,7 +491,7 @@ function DirectorScreenRender({
489491 label = { nextSegment ?. name || '' }
490492 width = { '80vw' }
491493 fontFamily = "Roboto Flex"
492- fontSize = "0.8em "
494+ fontSize = "0.7em "
493495 minFontWidth = { 70 }
494496 maxFontWidth = { 90 }
495497 minLetterSpacing = { 0 }
@@ -512,27 +514,29 @@ function DirectorScreenRender({
512514 playlistActivationId = { playlist ?. activationId }
513515 />
514516 </ div >
515- < div className = "director-screen__body__part__piece-name" >
516- { nextPartInstance && nextShowStyleBaseId && nextPartInstance . instance . part . title ? (
517- < PieceNameContainer
518- partName = { nextPartInstance . instance . part . title }
519- partInstanceId = { nextPartInstance . instance . _id }
520- showStyleBaseId = { nextShowStyleBaseId }
521- rundownIds = { rundownIds }
522- playlistActivationId = { playlist ?. activationId }
523- autowidth = { {
524- label : '' ,
525- width : '90vw' ,
526- fontFamily : 'Roboto Flex' ,
527- fontSize : '1.6em' ,
528- minFontWidth : 20 ,
529- maxFontWidth : 90 ,
530- minLetterSpacing : 2 ,
531- } }
532- />
533- ) : (
534- '_'
535- ) }
517+ < div className = "director-screen__body__part__piece-content" >
518+ < div className = "director-screen__body__part__piece-name" >
519+ { nextPartInstance && nextShowStyleBaseId && nextPartInstance . instance . part . title ? (
520+ < PieceNameContainer
521+ partName = { nextPartInstance . instance . part . title }
522+ partInstanceId = { nextPartInstance . instance . _id }
523+ showStyleBaseId = { nextShowStyleBaseId }
524+ rundownIds = { rundownIds }
525+ playlistActivationId = { playlist ?. activationId }
526+ autowidth = { {
527+ label : '' ,
528+ width : '90vw' ,
529+ fontFamily : 'Roboto Flex' ,
530+ fontSize : '1.4em' ,
531+ minFontWidth : 20 ,
532+ maxFontWidth : 90 ,
533+ minLetterSpacing : 2 ,
534+ } }
535+ />
536+ ) : (
537+ '_'
538+ ) }
539+ </ div >
536540 </ div >
537541 </ >
538542 ) : null }
0 commit comments