lbry-desktop/ui/component/fileRenderFloating
infiinte-persistence 5106ba59f6 FloatingPlayer: Run clamp-to-screen code when going into floating mode.
## Issue
The previous code only handled the clamping if the FP is already floating when the main window is resized.

1. In fresh Odysee session, the floating player is always clipped on the right.
2. If you resize the desktop while not floating, the FP could be clipped when you go into floating mode.

## Changes
- Factor out the clamping code.
- Add another effect to handle 'isFloating' changes.
2020-09-15 12:55:12 -04:00
..
index.js all settings constants come from redux 2020-07-27 11:53:14 -04:00
view.jsx FloatingPlayer: Run clamp-to-screen code when going into floating mode. 2020-09-15 12:55:12 -04:00