Repository navigation
Fix: Layout on screen scale don't adapt when the window is resized - #140
rubenberttpingol wants to merge 1 commit into
Conversation
dasgarner
left a comment
There was a problem hiding this comment.
I am not sure about this one - adapting to size changes mid playback is likely to be confusing?
The original issue is that the window doesn't open at the right size (according to the width/height specified in settings).
The fix here seems to be about rescaling, which I don't think is needed.
I would expect a change in screen size to completely tear down and recreate XLR at the right size.
|
This is actually a side effect on the XLR side. But the screen size change happens in the consumer (in this case, electron player). Without this change, when the screen size change, the rendered layout will adjust on the next cycle. There's an accompanied change of this from electron. |
|
The actual direct fix is here xibosignage/electron-player#248 |
|
I don't think we should try and dynamically resize. Changing at the next cycle, or even on restart, would be fine. |
|
Alright, so this change is not needed then. I'll have this closed. |
|
Closing as not necessary. |
relates to xibosignage/electron-player#244