mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-02 07:21:32 +08:00
Fixed IsZoomControlEnabled and ZoomFactor option docs (#3137)
* Fixed IsZoomControlEnabled and ZoomFactor options * Update changelog
This commit is contained in:
parent
97e60e181e
commit
5c1d62bb6a
@ -53,8 +53,6 @@ func main() {
|
||||
CSSDragValue: "drag",
|
||||
EnableDefaultContextMenu: false,
|
||||
EnableFraudulentWebsiteDetection: false,
|
||||
ZoomFactor: 1.0,
|
||||
IsZoomControlEnabled: false,
|
||||
Bind: []interface{}{
|
||||
app,
|
||||
},
|
||||
@ -84,12 +82,17 @@ func main() {
|
||||
LightModeTitleText: windows.RGB(20, 20, 20),
|
||||
LightModeBorder: windows.RGB(200, 200, 200),
|
||||
},
|
||||
// ZoomFactor is the zoom factor for the WebView2. This is the option matching the Edge user activated zoom in or out.
|
||||
ZoomFactor: float64,
|
||||
// IsZoomControlEnabled enables the zoom factor to be changed by the user.
|
||||
IsZoomControlEnabled: bool,
|
||||
// User messages that can be customised
|
||||
Messages *windows.Messages
|
||||
Messages: *windows.Messages
|
||||
// OnSuspend is called when Windows enters low power mode
|
||||
OnSuspend func()
|
||||
OnSuspend: func()
|
||||
// OnResume is called when Windows resumes from low power mode
|
||||
OnResume func(),
|
||||
OnResume: func(),
|
||||
// Disable GPU hardware acceleration for the webview
|
||||
WebviewGpuDisabled: false,
|
||||
},
|
||||
Mac: &mac.Options{
|
||||
|
@ -21,6 +21,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Remove quarantine attribute on macOS binaries. Changed by @leaanthony in [PR](https://github.com/wailsapp/wails/pull/3118)
|
||||
- Added documentation for a common GStreamer error on Linux systems. Changed by [@mkwsnyder](https://github.com/mkwsnyder) in [PR](https://github.com/wailsapp/wails/pull/3134)
|
||||
|
||||
### Fixed
|
||||
- Docs for IsZoomControlEnabled and ZoomFactor. Fixed by @leaanthony in [PR](https://github.com/wailsapp/wails/pull/3137)
|
||||
|
||||
## v2.7.1 - 2023-12-10
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user