Skip to content

Conversation

thet
Copy link
Member

@thet thet commented Sep 27, 2019

pat-auto-scale elements within pat-fullscreen were not correctly resized after fullscreen was activated/deactivated.
an attempt would be to

  1. await screenful.request and screenful.exit or resolve their promises and throw a custom event afterwards, wich pat-auto-scale can listen to to re-scale,
  2. listen to a screenful event in pat-auto-scale (not sure, if that exists),
  3. debounce re-scale for 300ms after screenful request/exit.

However, these changes here seem to fix that problem too.
And it's not that i removed immediate=true from the debounce call.

@thet thet force-pushed the bugfix/autoscale-on-fullscreen branch from 820409a to b1c1fc4 Compare September 27, 2019 09:34
@thet thet requested a review from pilz September 27, 2019 10:13
@pilz pilz merged commit 482a900 into master Sep 30, 2019
@pilz pilz deleted the bugfix/autoscale-on-fullscreen branch September 30, 2019 08:57
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.

2 participants