Update docs for non-offscreen invalidate
This commit is contained in:
parent
643cb5d6de
commit
52d989f908
1 changed files with 2 additions and 0 deletions
|
@ -1210,6 +1210,8 @@ Returns `Integer` - If *offscreen rendering* is enabled returns the current fram
|
||||||
|
|
||||||
#### `contents.invalidate()`
|
#### `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
|
If *offscreen rendering* is enabled invalidates the frame and generates a new
|
||||||
one through the `'paint'` event.
|
one through the `'paint'` event.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue