@@ -157,7 +157,7 @@ function getShowStyleBaseIdSegmentPartUi(
157157 }
158158}
159159
160- export const getDirectorScreenReactive = ( props : DirectorScreenProps ) : DirectorScreenTrackedProps => {
160+ const getDirectorScreenReactive = ( props : DirectorScreenProps ) : DirectorScreenTrackedProps => {
161161 const studio = UIStudios . findOne ( props . studioId )
162162
163163 let playlist : DBRundownPlaylist | undefined
@@ -269,7 +269,7 @@ export const getDirectorScreenReactive = (props: DirectorScreenProps): DirectorS
269269 }
270270}
271271
272- export function useDirectorScreenSubscriptions ( props : DirectorScreenProps ) : void {
272+ function useDirectorScreenSubscriptions ( props : DirectorScreenProps ) : void {
273273 useSubscription ( MeteorPubSub . uiStudio , props . studioId )
274274
275275 const playlist = useTracker (
@@ -442,7 +442,7 @@ function DirectorScreenRender({
442442 width : '90vw' ,
443443 fontFamily : 'Roboto Flex' ,
444444 fontSize : '1.4em' ,
445- minFontWidth : 20 ,
445+ minFontWidth : 32 ,
446446 maxFontWidth : 90 ,
447447 minLetterSpacing : 2 ,
448448 } }
@@ -502,9 +502,23 @@ function DirectorScreenRender({
502502 { nextPartInstance && nextShowStyleBaseId ? (
503503 < >
504504 { currentPartInstance && currentPartInstance . instance . part . autoNext ? (
505- < span className = "director-screen__body__part__auto-icon" > AUTO</ span >
505+ < span
506+ className = { ClassNames ( 'director-screen__body__part__auto-icon' , {
507+ 'director-screen__body__part__auto-icon--notext' :
508+ nextSegment === undefined || nextSegment ?. _id === currentSegment ?. _id ,
509+ } ) }
510+ >
511+ AUTO
512+ </ span >
506513 ) : (
507- < span className = "director-screen__body__part__next-icon" > NEXT</ span >
514+ < span
515+ className = { ClassNames ( 'director-screen__body__part__next-icon' , {
516+ 'director-screen__body__part__next-icon--notext' :
517+ nextSegment === undefined || nextSegment ?. _id === currentSegment ?. _id ,
518+ } ) }
519+ >
520+ NEXT
521+ </ span >
508522 ) }
509523 < div className = "director-screen__body__part__piece-icon" >
510524 < PieceIconContainer
@@ -528,7 +542,7 @@ function DirectorScreenRender({
528542 width : '90vw' ,
529543 fontFamily : 'Roboto Flex' ,
530544 fontSize : '1.4em' ,
531- minFontWidth : 20 ,
545+ minFontWidth : 32 ,
532546 maxFontWidth : 90 ,
533547 minLetterSpacing : 2 ,
534548 } }
0 commit comments