mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1227129 - Apply 'will-change: transform' to fullscreen-warning when it is shown. r=roc
Since there is a 3s timeout to hide the fullscreen warning, it makes sense to always apply will-change transform when it is not hidden. This could also avoid slight rendering difference when it stops moving.
This commit is contained in:
parent
09d867433e
commit
74919cf92f
@ -667,6 +667,7 @@ html|*#fullscreen-warning {
|
||||
}
|
||||
html|*#fullscreen-warning:not([hidden]) {
|
||||
display: flex;
|
||||
will-change: transform;
|
||||
}
|
||||
html|*#fullscreen-warning[onscreen] {
|
||||
transform: translate(-50%, 50px);
|
||||
|
Loading…
Reference in New Issue
Block a user