mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1074693 - Loop desktop room preview to use fullscreen local videostream. r=Standard8
This commit is contained in:
parent
7c60277a5e
commit
39fc0e3d74
@ -227,7 +227,8 @@ loop.roomViews = (function(mozL10n) {
|
|||||||
var localStreamClasses = React.addons.classSet({
|
var localStreamClasses = React.addons.classSet({
|
||||||
local: true,
|
local: true,
|
||||||
"local-stream": true,
|
"local-stream": true,
|
||||||
"local-stream-audio": !this.state.videoMuted
|
"local-stream-audio": !this.state.videoMuted,
|
||||||
|
"room-preview": this.state.roomState !== ROOM_STATES.HAS_PARTICIPANTS
|
||||||
});
|
});
|
||||||
|
|
||||||
switch(this.state.roomState) {
|
switch(this.state.roomState) {
|
||||||
|
@ -227,7 +227,8 @@ loop.roomViews = (function(mozL10n) {
|
|||||||
var localStreamClasses = React.addons.classSet({
|
var localStreamClasses = React.addons.classSet({
|
||||||
local: true,
|
local: true,
|
||||||
"local-stream": true,
|
"local-stream": true,
|
||||||
"local-stream-audio": !this.state.videoMuted
|
"local-stream-audio": !this.state.videoMuted,
|
||||||
|
"room-preview": this.state.roomState !== ROOM_STATES.HAS_PARTICIPANTS
|
||||||
});
|
});
|
||||||
|
|
||||||
switch(this.state.roomState) {
|
switch(this.state.roomState) {
|
||||||
|
@ -475,6 +475,17 @@
|
|||||||
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
|
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.fx-embedded .local-stream.room-preview {
|
||||||
|
top: 0px;
|
||||||
|
left: 0px;
|
||||||
|
right: 0px;
|
||||||
|
bottom: 0px;
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
max-width: none;
|
||||||
|
max-height: none;
|
||||||
|
}
|
||||||
|
|
||||||
.conversation .media.nested .remote {
|
.conversation .media.nested .remote {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
position: absolute; /* workaround for lack of object-fit; see bug 1020445 */
|
position: absolute; /* workaround for lack of object-fit; see bug 1020445 */
|
||||||
|
Loading…
Reference in New Issue
Block a user