Merge pull request #1917 from williamboman/fix/css-animation-jitter

fix animation jitter when clicking join channel button
This commit is contained in:
Jérémie Astori 2018-01-04 19:56:55 -05:00 committed by GitHub
commit ede032a7f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -668,7 +668,8 @@ kbd {
} }
#sidebar .lobby .add-channel.opened { #sidebar .lobby .add-channel.opened {
transform: rotate(45deg); /* translateZ(0) enables hardware acceleration, this is to avoid jittering when animating */
transform: rotate(45deg) translateZ(0);
} }
#sidebar .chan.active .close { #sidebar .chan.active .close {