Windows: prevent PiP avatar from being dragged

This commit is contained in:
Evan Hahn 2020-12-11 12:56:23 -06:00 committed by GitHub
parent 0506b79f6b
commit 819f5f3001
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6597,6 +6597,12 @@ button.module-image__border-overlay:focus {
.module-ongoing-call__group-call-remote-participant--audio-muted::after {
display: none;
}
// The avatar image can be dragged on Windows.
.module-avatar img {
-webkit-user-drag: none;
-webkit-user-select: none;
}
}
&--local {
@ -6607,11 +6613,6 @@ button.module-image__border-overlay:focus {
transform: rotateY(180deg);
width: 32px;
}
&--avatar img {
-webkit-user-drag: none;
-webkit-user-select: none;
}
}
&__actions {