diff --git a/docs/api/web-contents.md b/docs/api/web-contents.md index 357374be3349..fb254511955e 100644 --- a/docs/api/web-contents.md +++ b/docs/api/web-contents.md @@ -1871,7 +1871,7 @@ Returns `Boolean` - If *offscreen rendering* is enabled returns whether it is cu * `fps` Integer If *offscreen rendering* is enabled sets the frame rate to the specified number. -Only values between 1 and 60 are accepted. +Only values between 1 and 240 are accepted. #### `contents.getFrameRate()` @@ -1969,7 +1969,7 @@ The zoom factor is the zoom percent divided by 100, so 300% = 3.0. #### `contents.frameRate` An `Integer` property that sets the frame rate of the web contents to the specified number. -Only values between 1 and 60 are accepted. +Only values between 1 and 240 are accepted. Only applicable if *offscreen rendering* is enabled. diff --git a/docs/tutorial/offscreen-rendering.md b/docs/tutorial/offscreen-rendering.md index 625e0e977102..8a8d4d77b315 100644 --- a/docs/tutorial/offscreen-rendering.md +++ b/docs/tutorial/offscreen-rendering.md @@ -13,7 +13,7 @@ project. * There are two rendering modes that can be used (see the section below) and only the dirty area is passed to the `paint` event to be more efficient. * You can stop/continue the rendering as well as set the frame rate. -* The maximum frame rate is 60 because greater values bring only performance +* The maximum frame rate is 240 because greater values bring only performance losses with no benefits. * When nothing is happening on a webpage, no frames are generated. * An offscreen window is always created as a