Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FloatingPlayer: Stay within screen when window is resized #4750

Merged
merged 4 commits into from
Sep 10, 2020

Conversation

infinite-persistence
Copy link
Contributor

Issue

Fixes #4741: Pop out player disappears or is cut off

Approach:

  • When dragging stops, determine the location of the floating player wtih respect to the main window in terms of percentage.
  • When window is resized, roughly re-position based on the stored percentage.

## Issue
4741: `Pop out player disappears or is cut off`

## Approach:
- When dragging stops, determine the location of the floating player with respect to the main window in terms of percentage.
- When window is resized, roughly re-position based on the stored percentage.
@neb-b
Copy link

neb-b commented Sep 10, 2020

This is great!

@neb-b neb-b merged commit e784107 into master Sep 10, 2020
@neb-b neb-b deleted the ip-floater-position-4741 branch September 10, 2020 15:06
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.

Pop out player disappears or is cut off
2 participants