mirror of
https://github.com/NoCrypt/migu.git
synced 2026-03-11 17:45:32 +00:00
fix: reduce flickering on high DPI displays
This commit is contained in:
parent
a506a06688
commit
995c8a621a
2 changed files with 5 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "Miru",
|
||||
"version": "4.4.14",
|
||||
"version": "4.4.15",
|
||||
"author": "ThaUnknown_ <ThaUnknown@users.noreply.github.com>",
|
||||
"description": "Stream anime torrents, real-time with no waiting for downloads.",
|
||||
"main": "build/main.js",
|
||||
|
|
|
|||
|
|
@ -3,11 +3,14 @@ import { app, ipcMain, shell, dialog } from 'electron'
|
|||
export const development = process.env.NODE_ENV?.trim() === 'development'
|
||||
|
||||
const flags = [
|
||||
['disable-gpu-sandbox'],
|
||||
['disable-direct-composition-video-overlays'],
|
||||
['double-buffer-compositing'],
|
||||
['enable-gpu-rasterization'],
|
||||
['enable-zero-copy'],
|
||||
['ignore-gpu-blocklist'],
|
||||
['enable-hardware-overlays', 'single-fullscreen,single-on-top,underlay'],
|
||||
['enable-features', 'PlatformEncryptedDolbyVision,EnableDrDc,CanvasOopRasterization,BackForwardCache:TimeToLiveInBackForwardCacheInSeconds/300/should_ignore_blocklists/true/enable_same_site/true,ThrottleDisplayNoneAndVisibilityHiddenCrossOriginIframes,UseSkiaRenderer,WebAssemblyLazyCompilationEnableDrDc,CanvasOopRasterization,BackForwardCache:TimeToLiveInBackForwardCacheInSeconds/300/should_ignore_blocklists/true/enable_same_site/true,ThrottleDisplayNoneAndVisibilityHiddenCrossOriginIframes,UseSkiaRenderer,WebAssemblyLazyCompilation'],
|
||||
['enable-features', 'PlatformEncryptedDolbyVision,EnableDrDc,CanvasOopRasterization,ThrottleDisplayNoneAndVisibilityHiddenCrossOriginIframes,UseSkiaRenderer,WebAssemblyLazyCompilation'],
|
||||
['force_high_performance_gpu'],
|
||||
['disable-features', 'Vulkan'],
|
||||
['disable-color-correct-rendering'],
|
||||
|
|
|
|||
Loading…
Reference in a new issue