From e1e997cf95be622e450db03169622e9e1f241ea5 Mon Sep 17 00:00:00 2001 From: phit <2097483+phit@users.noreply.github.com> Date: Fri, 16 Oct 2026 22:54:00 +0200 Subject: [PATCH] =?UTF-8?q?refactor:=20drop=20"YouTube=20default"=20from?= =?UTF-8?q?=20the=20360=C2=B0=20EAC=20label?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit YouTube now detects the projection itself, so the hint no longer helps. Co-Authored-By: Claude Opus 5.5 --- src/projections.js | 2 +- src/vr-controls.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/projections.js b/src/projections.js index e35f224..d37b875 100644 --- a/src/projections.js +++ b/src/projections.js @@ -1,6 +1,6 @@ // Projection ids and labels, in dropdown order. Kept free of three.js so the popup can use it. export const PROJECTION_LABELS = [ - ['EAC', '360° EAC (YouTube default)'], + ['EAC', '360° EAC'], ['EAC_LR', '360° EAC 3D'], ['CUBE', '360° cubemap'], ['360', '360° equirectangular'], diff --git a/src/vr-controls.js b/src/vr-controls.js index 758e21a..a2b19b5 100644 --- a/src/vr-controls.js +++ b/src/vr-controls.js @@ -687,7 +687,7 @@ export class VRControls { const label = PROJECTION_LABELS.find(([id]) => id === this.player.projection)?.[1] ?? ''; const labelX = (AREAS.previousProjection.x + AREAS.previousProjection.w + AREAS.nextProjection.x) / 2; text('PROJECTION', labelX, ROW_BOTTOM + 26, { size: 18, color: THEME.label, weight: 600, spacing: 2 }); - text(label.replace(/ \(.*\)$/, ''), labelX, ROW_BOTTOM + 60, { size: 24 }); + text(label, labelX, ROW_BOTTOM + 60, { size: 24 }); iconButton('recenter', () => text('Recenter', 0, 1, { size: 24 }), true); iconButton('exit', () => text('Exit VR', 0, 1, { size: 24 }), true);