summaryrefslogtreecommitdiffhomepage
path: root/gui/scripts/README.md
diff options
context:
space:
mode:
authorJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2020-06-27 01:19:59 +0000
committerJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2020-07-01 22:59:29 +0000
commit088b0e99985c166c44dfe79f60f9bbb9607070a6 (patch)
tree785ade1f13de85902a5d4139f46080c53e6cf011 /gui/scripts/README.md
parent64a5fc0c1de54a852b4666efed82c754c7553b2b (diff)
downloadmullvadvpn-088b0e99985c166c44dfe79f60f9bbb9607070a6.tar.xz
mullvadvpn-088b0e99985c166c44dfe79f60f9bbb9607070a6.zip
Work around banner showing bottom part too soon
If the notification that is to be shown increases the height of the banner, it will take another layout pass for it to properly adjust the animation offsets. During this time, the view becomes visible and shows the bottom part of the banner before the animation starts. The work around implemented here is to simply delay the animation by a small amount (enough for a frame to be skipped) to ensure the layout has completed and moved the banner up enough for the bottom part to not be shown when the view becomes visible.
Diffstat (limited to 'gui/scripts/README.md')
0 files changed, 0 insertions, 0 deletions