mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-21 06:59:09 +00:00
refactor: larger secondary field in timer
This commit is contained in:
committed by
Carlos Valente
parent
1fc4a06133
commit
62c52bca07
@@ -58,7 +58,7 @@ export function getEstimatedFontSize(stageTimer: string, secondaryContent?: stri
|
|||||||
timerFontSize = fontSizeMap[stageTimerCharacters];
|
timerFontSize = fontSizeMap[stageTimerCharacters];
|
||||||
}
|
}
|
||||||
|
|
||||||
let externalFontSize = timerFontSize * 0.2;
|
let externalFontSize = timerFontSize * 0.325;
|
||||||
if (secondaryContent) {
|
if (secondaryContent) {
|
||||||
// we need to shrink the timer if the external is going to be there
|
// we need to shrink the timer if the external is going to be there
|
||||||
// this number has been tweaked to fit in a landscape mobile screen
|
// this number has been tweaked to fit in a landscape mobile screen
|
||||||
|
|||||||
Reference in New Issue
Block a user