fix(electron): remove disableHardwareAcceleration (#2199)

This commit is contained in:
LongYinan authored and GitHub committed 2023-04-29 05:22:59 -05:00
1 parent 99898b2260
commit a4e7d0d0c3
1 file changed
-5
-5
View File
@@ -36,11 +36,6 @@ app.on('open-url', async (_, _url) => {
// todo: handle `affine://...` urls // todo: handle `affine://...` urls
}); });
/**
* Disable Hardware Acceleration for more power-save
*/
app.disableHardwareAcceleration();
/** /**
* Shout down background process if all windows was closed * Shout down background process if all windows was closed
*/ */