Merge pull request #7062 from MaxWhere/osr-sizing-fix

Offscreen invalidate and sizing fix
This commit is contained in:
Cheng Zhao 2016-09-19 15:38:11 +09:00 committed by GitHub
commit a260647b4f
5 changed files with 43 additions and 6 deletions

View file

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