Skip to content

feat: Align local video/subtitle split by source aspect ratio on drop and theater toggle#912

Open
khajiitvaper2017 wants to merge 5 commits intokillergerbah:mainfrom
khajiitvaper2017:fix-aspect-ratio-v2
Open

feat: Align local video/subtitle split by source aspect ratio on drop and theater toggle#912
khajiitvaper2017 wants to merge 5 commits intokillergerbah:mainfrom
khajiitvaper2017:fix-aspect-ratio-v2

Conversation

@khajiitvaper2017
Copy link

This PR improves local playback layout when dropping a video + subtitle file.

On drop, the app reads source video metadata and initializes the split so the video pane matches the video aspect ratio as closely as possible, maximizing visible video area and reducing black side bars.

The same one-time recalculation also runs when Toggle Theater Mode changes layout (app bar hidden/shown), so split initialization stays correct after theater mode transitions.

After initialization, manual subtitle panel resizing remains user-controlled.

2026-03-01.23-09-06.mp4

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.

1 participant