mirror of
https://github.com/NoCrypt/migu.git
synced 2026-03-29 22:09:37 +00:00
fix: canvas performance
This commit is contained in:
parent
3500988610
commit
855dddf89c
2 changed files with 5 additions and 5 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "Miru",
|
||||
"version": "3.1.7",
|
||||
"version": "3.1.8",
|
||||
"author": "ThaUnknown_ <ThaUnknown@users.noreply.github.com>",
|
||||
"description": "Stream anime torrents, real-time with no waiting for downloads.",
|
||||
"main": "src/index.js",
|
||||
|
|
|
|||
|
|
@ -530,7 +530,7 @@
|
|||
video.cancelVideoFrameCallback(loop)
|
||||
canvas.remove()
|
||||
}
|
||||
|
||||
container.append(canvas)
|
||||
return { stream: canvas.captureStream(), destroy }
|
||||
}
|
||||
|
||||
|
|
@ -1133,8 +1133,8 @@
|
|||
}
|
||||
|
||||
.pip :global(canvas:not(.w-full)) {
|
||||
left: 99.9% !important;
|
||||
/*hack to hide the canvas but still keep it updating*/
|
||||
width: 1px !important;
|
||||
height: 1px !important;
|
||||
}
|
||||
|
||||
.material-icons {
|
||||
|
|
@ -1159,7 +1159,7 @@
|
|||
}
|
||||
|
||||
.pip video {
|
||||
visibility: hidden;
|
||||
opacity: 0.1%;
|
||||
}
|
||||
|
||||
.middle div[data-name='bufferingDisplay'] {
|
||||
|
|
|
|||
Loading…
Reference in a new issue