Merge pull request #8628 from Spacetech/master

Implement invalidate for non-offscreen mode
This commit is contained in:
Kevin Sawicki 2017-02-14 11:41:16 -08:00 committed by GitHub
commit 9be42db8d5
7 changed files with 23 additions and 6 deletions

View file

@ -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.