mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
Update options docs to clarify linux webview gpu defaults
This commit is contained in:
parent
993fde17fe
commit
9c7dc05cea
1 changed files with 3 additions and 2 deletions
|
|
@ -126,7 +126,7 @@ func main() {
|
|||
Linux: &linux.Options{
|
||||
Icon: icon,
|
||||
WindowIsTranslucent: false,
|
||||
WebviewGpuPolicy: linux.WebviewGpuPolicyAlways,
|
||||
WebviewGpuPolicy: linux.WebviewGpuPolicyNever,
|
||||
ProgramName: "wails"
|
||||
},
|
||||
Debug: options.Debug{
|
||||
|
|
@ -1066,7 +1066,8 @@ This option is used for determining the webview's hardware acceleration policy.
|
|||
|
||||
Name: WebviewGpuPolicy<br/>
|
||||
Type: [`options.WebviewGpuPolicy`](#webviewgpupolicy-type)<br/>
|
||||
Default: `WebviewGpuPolicyAlways`
|
||||
Default (Windows, macOS): `WebviewGpuPolicyAlways`<br/>
|
||||
Default (Linux): `WebviewGpuPolicyNever`<br/>
|
||||
|
||||
##### WebviewGpuPolicy type
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue