浏览代码

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)

正在加载...
取消
保存