mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-01 13:31:25 +08:00
Update options docs to clarify linux webview gpu defaults
This commit is contained in:
parent
993fde17fe
commit
9c7dc05cea
@ -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…
Reference in New Issue
Block a user