mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
fix(electron): remove disableHardwareAcceleration (#2199)
This commit is contained in:
@@ -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
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user