mirror of
https://github.com/wavetermdev/wails.git
synced 2026-08-05 13:53:43 -07:00
* feat: add windows options supports `IsPinchZoomEnabled` configuration(#2021) * refactor: modify `IsPinchZoomEnabled` to `DisablePinchZoom` ensure default behavior is consistent * docs: add `DisablePinchZoom` to changelog * docs: update the description of `DisablePinchZoom` attributes in the document --------- Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
This commit is contained in:
@@ -70,6 +70,7 @@ func main() {
|
||||
WebviewIsTransparent: false,
|
||||
WindowIsTranslucent: false,
|
||||
BackdropType: windows.Mica,
|
||||
DisablePinchZoom: false,
|
||||
DisableWindowIcon: false,
|
||||
DisableFramelessWindowDecorations: false,
|
||||
WebviewUserDataPath: "",
|
||||
@@ -577,6 +578,13 @@ The value can be one of the following:
|
||||
| Mica | Use [Mica](https://learn.microsoft.com/en-us/windows/apps/design/style/mica) effect |
|
||||
| Tabbed | Use Tabbed. This is a backdrop that is similar to Mica. |
|
||||
|
||||
#### DisablePinchZoom
|
||||
|
||||
Setting this to `true` will disable pinch zoom gestures.
|
||||
|
||||
Name: DisablePinchZoom<br/>
|
||||
Type: `bool`
|
||||
|
||||
#### DisableWindowIcon
|
||||
|
||||
Setting this to `true` will remove the icon in the top left corner of the title bar.
|
||||
|
||||
Reference in New Issue
Block a user