Skip to content

scoreboard format and history fixes#232

Open
scyc314 wants to merge 2 commits intoeerimoq:mainfrom
scyc314:main
Open

scoreboard format and history fixes#232
scyc314 wants to merge 2 commits intoeerimoq:mainfrom
scyc314:main

Conversation

@scyc314
Copy link
Contributor

@scyc314 scyc314 commented Feb 10, 2026

No description provided.

)
}
.frame(width: CGFloat(modular.width) + CGFloat(maxHistory) * histWidth)
.frame(width: CGFloat(modular.width) + CGFloat(maxHistory - 1) * histWidth)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm, looks odd to allow negative width

Copy link
Contributor Author

@scyc314 scyc314 Feb 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It wouldn't result in negative width for the scoreboard, just removes the width of one score box. The default results in a wider display than it should be. I updated the PR with an alternative way to address this.

private func teamName(team: SettingsWidgetModularScoreboardTeam) -> some View {
Text(team.name)
.font(.system(size: fontSize()))
.font(.system(size: fontSize(), weight: .bold))
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the bold setting is on the next line. you want to force team name in bold? I like it configurable.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The configuration option doesn't work for me. It's fine to leave as it is, I can look into why the bold toggle doesn't seem to impact the team name later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants