Преглед на файлове

Add visibility option

master
Roderic Day преди 5 години
родител
ревизия
aa54f09ae4
променени са 2 файла, в които са добавени 4 реда и са изтрити 1 реда
  1. +3
    -0
      pico.css
  2. +1
    -1
      pico.js

+ 3
- 0
pico.css Целия файл

@@ -82,6 +82,9 @@ body {
height: 100%;
width: 100%;
}
.video-container:not(.visible) {
display: none;
}
.video-container:not(.square) {
width: unset !important;
overflow: scroll;

+ 1
- 1
pico.js Целия файл

@@ -182,7 +182,7 @@ const hotKey = (e) => {
}
}
const VideoOptions = {
available: ['mirror', 'square'],
available: ['visible', 'mirror', 'square'],
getFor: (username) => {
if(!State.options[username]) {
State.options[username] = new Set(VideoOptions.available)

Loading…
Отказ
Запис