From a4e7d0d0c3df29b25dbb8a313ef42d4ed8ddf60a Mon Sep 17 00:00:00 2001 From: LongYinan Date: Sat, 29 Apr 2023 18:22:59 +0800 Subject: [PATCH] fix(electron): remove disableHardwareAcceleration (#2199) --- apps/electron/layers/main/src/index.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/apps/electron/layers/main/src/index.ts b/apps/electron/layers/main/src/index.ts index a907a91ae0..64d411ad03 100644 --- a/apps/electron/layers/main/src/index.ts +++ b/apps/electron/layers/main/src/index.ts @@ -36,11 +36,6 @@ app.on('open-url', async (_, _url) => { // todo: handle `affine://...` urls }); -/** - * Disable Hardware Acceleration for more power-save - */ -app.disableHardwareAcceleration(); - /** * Shout down background process if all windows was closed */