-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add windows options supports DisablePinchZoom
configuration(#2021)
#3115
Changes from 4 commits
5849fc6
3de9f24
9e24b60
e79e478
f6df2c5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |
|
||
## [Unreleased] | ||
|
||
### Added | ||
|
||
- Added windows options supports `DisablePinchZoom` configuration. Added by @tuuzed in [PR](https://github.com/wailsapp/wails/pull/3115) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There appears to be a discrepancy between the feature name mentioned in the summary ( |
||
|
||
## v2.7.1 - 2023-12-10 | ||
|
||
### Fixed | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The implementation of the
IsPinchZoomEnabled
feature uses a negation ofopts.DisablePinchZoom
to set the value. This logic assumes that theDisablePinchZoom
field exists and is a boolean. Ensure that theDisablePinchZoom
field is properly documented, and its default value aligns with the intended functionality ofIsPinchZoomEnabled
. Additionally, consider handling the potential absence ofopts
oropts.DisablePinchZoom
to avoid a nil pointer dereference.