Merge pull request #8628 from Spacetech/master
Implement invalidate for non-offscreen mode
This commit is contained in:
commit
9be42db8d5
7 changed files with 23 additions and 6 deletions
|
@ -1239,6 +1239,8 @@ Returns `Integer` - If *offscreen rendering* is enabled returns the current fram
|
|||
|
||||
#### `contents.invalidate()`
|
||||
|
||||
Schedules a full repaint of the window this web contents is in.
|
||||
|
||||
If *offscreen rendering* is enabled invalidates the frame and generates a new
|
||||
one through the `'paint'` event.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue