From 8c7415c008aa093c5cf7868d716d6875c18359ac Mon Sep 17 00:00:00 2001 From: Max Goodhart Date: Sat, 31 Jan 2026 20:08:05 -0800 Subject: [PATCH] Remove unused site rotation code (vestige of Periscope) --- packages/streamwall/src/preload/mediaPreload.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/packages/streamwall/src/preload/mediaPreload.ts b/packages/streamwall/src/preload/mediaPreload.ts index 73a500a..53255eb 100644 --- a/packages/streamwall/src/preload/mediaPreload.ts +++ b/packages/streamwall/src/preload/mediaPreload.ts @@ -80,23 +80,17 @@ class RotationController { constructor(video: HTMLVideoElement) { this.video = video - this.siteRotation = 0 this.customRotation = 0 } _update() { - const rotation = (this.siteRotation + this.customRotation) % 360 + const rotation = this.customRotation % 360 if (![0, 90, 180, 270].includes(rotation)) { console.warn('ignoring invalid rotation', rotation) } this.video.className = `__rot${rotation}__` } - setSite(rotation = 0) { - this.siteRotation = rotation - this._update() - } - setCustom(rotation = 0) { this.customRotation = rotation this._update()