mirror of
https://github.com/phit/video2webxr.git
synced 2026-10-17 14:01:11 +02:00
refactor: drop "YouTube default" from the 360° EAC label
YouTube now detects the projection itself, so the hint no longer helps. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
eca0d9c101
commit
e1e997cf95
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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'],
|
||||
|
||||
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user