mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Merge pull request #7062 from MaxWhere/osr-sizing-fix
Offscreen invalidate and sizing fix
This commit is contained in:
@@ -1146,6 +1146,11 @@ Only values between 1 and 60 are accepted.
|
||||
|
||||
If *offscreen rendering* is enabled returns the current frame rate.
|
||||
|
||||
#### `contents.invalidate()`
|
||||
|
||||
If *offscreen rendering* is enabled invalidates the frame and generates a new
|
||||
one through the `'paint'` event.
|
||||
|
||||
### Instance Properties
|
||||
|
||||
#### `contents.id`
|
||||
|
||||
Reference in New Issue
Block a user