mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
docs: fix docs for app.isHardwareAccelerationEnabled() (#48925)
This commit is contained in:
@@ -1218,7 +1218,7 @@ This method can only be called before app is ready.
|
|||||||
|
|
||||||
### `app.isHardwareAccelerationEnabled()`
|
### `app.isHardwareAccelerationEnabled()`
|
||||||
|
|
||||||
Returns `boolean` - whether hardware acceleration is currently disabled.
|
Returns `boolean` - whether hardware acceleration is currently enabled.
|
||||||
|
|
||||||
> [!NOTE]
|
> [!NOTE]
|
||||||
> This information is only usable after the `gpu-info-update` event is emitted.
|
> This information is only usable after the `gpu-info-update` event is emitted.
|
||||||
|
|||||||
Reference in New Issue
Block a user