mirror of
https://github.com/NoCrypt/migu.git
synced 2026-03-11 17:45:32 +00:00
fix: errors on buffer transfer
fix: menubar background position
This commit is contained in:
parent
404a223ac8
commit
21886f2277
3 changed files with 7 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "Miru",
|
||||
"version": "4.3.9",
|
||||
"version": "4.3.10",
|
||||
"author": "ThaUnknown_ <ThaUnknown@users.noreply.github.com>",
|
||||
"description": "Stream anime torrents, real-time with no waiting for downloads.",
|
||||
"main": "build/main.js",
|
||||
|
|
|
|||
|
|
@ -56,8 +56,8 @@ class TorrentClient extends WebTorrent {
|
|||
})
|
||||
this.dispatch('files', files)
|
||||
this.dispatch('magnet', { magnet: torrent.magnetURI, hash: torrent.infoHash })
|
||||
// this will cause errors when only the renderer refreshes, and not the background process, but it's not an issue, for now
|
||||
this.dispatch('torrent', torrent.torrentFile, [torrent.torrentFile.buffer])
|
||||
const clonedTorrentFile = torrent.torrentFile.slice(0)
|
||||
this.dispatch('torrent', clonedTorrentFile, [clonedTorrentFile.buffer])
|
||||
}
|
||||
|
||||
_scrape ({ id, infoHashes }) {
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
}
|
||||
</script>
|
||||
|
||||
<div class='w-full z-50 navbar bg-transparent border-0 p-0 d-flex'>
|
||||
<div class='w-full z-101 navbar bg-transparent border-0 p-0 d-flex'>
|
||||
<div class='d-flex h-full draggable align-items-center text-center'>
|
||||
{#if window.version.platform !== 'darwin'}
|
||||
<img src='./logo.ico' class='position-absolute w-50 h-50 m-10 pointer' alt='ico' use:click={close} />
|
||||
|
|
@ -30,6 +30,9 @@
|
|||
</div>
|
||||
|
||||
<style>
|
||||
.z-101 {
|
||||
z-index: 101 !important
|
||||
}
|
||||
.draggable {
|
||||
-webkit-app-region: drag;
|
||||
color: var(--dm-text-muted-color);
|
||||
|
|
|
|||
Loading…
Reference in a new issue