Skip to content

Conversation

@CryZe
Copy link
Collaborator

@CryZe CryZe commented Apr 12, 2025

Chrome supports the Document Picture-in-Picture API, which allows us to create a popup window that is always on top, has a "return to tab" button, remembers its position and size, and has a more compact title bar. Considering not every browser supports this API, we automatically fall back to window.open if the API is not available.

Chrome supports the [Document Picture-in-Picture
API](https://developer.chrome.com/blog/the-future-of-picture-in-picture/),
which allows us to create a popup window that is always on top, has a
"return to tab" button, remembers its position and size, and has a more
compact title bar. Considering not every browser supports this API, we
automatically fall back to `window.open` if the API is not available.
@CryZe CryZe added enhancement A new feature or general improvement to LiveSplit One. Chromium An issue that affects Google Chrome, Edge and Opera. UI The issue is about the user interface. layout rendering This affects the rendering of LiveSplit layouts. high priority This is a high priority issue. labels Apr 12, 2025
@CryZe CryZe enabled auto-merge (squash) April 12, 2025 21:26
@CryZe CryZe merged commit 7e54e84 into LiveSplit:master Apr 12, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Chromium An issue that affects Google Chrome, Edge and Opera. enhancement A new feature or general improvement to LiveSplit One. high priority This is a high priority issue. layout rendering This affects the rendering of LiveSplit layouts. UI The issue is about the user interface.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant