Skip to content

Commit

Permalink
Windows: prevent PiP avatar from being dragged
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanHahn-Signal authored Dec 11, 2020
1 parent 0506b79 commit 819f5f3
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions stylesheets/_modules.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 {
Expand Down

0 comments on commit 819f5f3

Please sign in to comment.