mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 08:00:43 +00:00
Keep overpass as the default name font; Arial stays the opt-in (lazy) alternate
Revert the default to overpass (more readable for map labels) and leave Arial as the lazy-loaded opt-in 'classic' look, so only players who choose it download its atlas. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -536,7 +536,7 @@ export class GraphicsSettingsModal extends LitElement implements Controller {
|
||||
}
|
||||
|
||||
private currentClassicNames(): boolean {
|
||||
return this.userSettings.graphicsOverrides().name?.classicFont ?? true;
|
||||
return this.userSettings.graphicsOverrides().name?.classicFont ?? false;
|
||||
}
|
||||
|
||||
private onToggleClassicNames() {
|
||||
|
||||
@@ -28,8 +28,8 @@ export function applyGraphicsOverrides(
|
||||
if (overrides.structure?.iconSize !== undefined) {
|
||||
settings.structure.iconSize = overrides.structure.iconSize;
|
||||
}
|
||||
// Name font: Arial (Arimo) MSDF atlas by default; false = overpass.
|
||||
settings.name.classicFont = overrides.name?.classicFont ?? true;
|
||||
// Name font: overpass MSDF by default; true = Arial (Arimo) MSDF.
|
||||
settings.name.classicFont = overrides.name?.classicFont ?? false;
|
||||
if (overrides.structure?.classicIcons ?? true) {
|
||||
// Classic look (default): lighter player-colored shape behind a darkened
|
||||
// player-colored icon glyph (matching the old canvas renderer's
|
||||
|
||||
@@ -218,7 +218,7 @@
|
||||
"hoverFadeAlpha": 0.5,
|
||||
"hoverGlowWidth": 5,
|
||||
"hoverGlowAlpha": 0.75,
|
||||
"classicFont": true
|
||||
"classicFont": false
|
||||
},
|
||||
"fx": {
|
||||
"shockwaveRingWidth": 0.04,
|
||||
|
||||
Reference in New Issue
Block a user