mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-02 02:30:48 +08:00
Modified ZoomFactor and IsZoomControlEnabled options to be Windows-only options (#3644)
This commit is contained in:
parent
0f61873fe8
commit
d36d1718d9
@ -485,21 +485,6 @@ services of Apple and Microsoft.
|
||||
Name: EnableFraudulentWebsiteDetection<br/>
|
||||
Type: `bool`
|
||||
|
||||
### ZoomFactor
|
||||
|
||||
Name: ZoomFactor<br/>
|
||||
Type: `float64`
|
||||
|
||||
This defines the zoom factor for the WebView2. This is the option matching the Edge user activated zoom in or out.
|
||||
|
||||
### IsZoomControlEnabled
|
||||
|
||||
Name: IsZoomControlEnabled<br/>
|
||||
Type: `bool`
|
||||
|
||||
This enables the zoom factor to be changed by the user. Please note that the zoom factor can be set in the options while
|
||||
disallowing the user to change it at runtime (f.e. for a kiosk application or similar).
|
||||
|
||||
### Bind
|
||||
|
||||
A slice of struct instances defining methods that need to be bound to the frontend.
|
||||
@ -642,6 +627,21 @@ 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. |
|
||||
|
||||
#### ZoomFactor
|
||||
|
||||
Name: ZoomFactor<br/>
|
||||
Type: `float64`
|
||||
|
||||
This defines the zoom factor for the WebView2. This is the option matching the Edge user activated zoom in or out.
|
||||
|
||||
#### IsZoomControlEnabled
|
||||
|
||||
Name: IsZoomControlEnabled<br/>
|
||||
Type: `bool`
|
||||
|
||||
This enables the zoom factor to be changed by the user. Please note that the zoom factor can be set in the options while
|
||||
disallowing the user to change it at runtime (f.e. for a kiosk application or similar).
|
||||
|
||||
#### DisablePinchZoom
|
||||
|
||||
Setting this to `true` will disable pinch zoom gestures.
|
||||
|
@ -420,18 +420,6 @@ EnableFraudulentWebsiteDetection enables scan services for fraudulent content, s
|
||||
|
||||
Name: EnableFraudulentWebsiteDetection<br/> Type: `bool`
|
||||
|
||||
### ZoomFactor
|
||||
|
||||
Name: ZoomFactor<br/> Type: `float64`
|
||||
|
||||
This defines the zoom factor for the WebView2. This is the option matching the Edge user activated zoom in or out.
|
||||
|
||||
### IsZoomControlEnabled
|
||||
|
||||
Name: IsZoomControlEnabled<br/> Type: `bool`
|
||||
|
||||
This enables the zoom factor to be changed by the user. Please note that the zoom factor can be set in the options while disallowing the user to change it at runtime (f.e. for a kiosk application or similar).
|
||||
|
||||
### Bind
|
||||
|
||||
A slice of struct instances defining methods that need to be bound to the frontend.
|
||||
@ -546,6 +534,18 @@ 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. |
|
||||
|
||||
#### ZoomFactor
|
||||
|
||||
Name: ZoomFactor<br/> Type: `float64`
|
||||
|
||||
This defines the zoom factor for the WebView2. This is the option matching the Edge user activated zoom in or out.
|
||||
|
||||
#### IsZoomControlEnabled
|
||||
|
||||
Name: IsZoomControlEnabled<br/> Type: `bool`
|
||||
|
||||
This enables the zoom factor to be changed by the user. Please note that the zoom factor can be set in the options while disallowing the user to change it at runtime (f.e. for a kiosk application or similar).
|
||||
|
||||
#### DisablePinchZoom
|
||||
|
||||
Setting this to `true` will disable pinch zoom gestures.
|
||||
|
@ -420,18 +420,6 @@ EnableFraudulentWebWebDetection permet de rechercher des contenus frauduleux, te
|
||||
|
||||
Nom: EnableFraudulentWebsiteDetection<br/> Type: `bool`
|
||||
|
||||
### ZoomFactor
|
||||
|
||||
Nom: ZoomFactor<br/> Type: `float64`
|
||||
|
||||
Ceci définit le facteur de zoom pour WebView2. Il s'agit de l'option correspondant au zoom avant ou arrière défini par l'utilisateur.
|
||||
|
||||
### IsZoomControlEnabled
|
||||
|
||||
Nom : IsZoomControlEnabled<br/> Type : `bool`
|
||||
|
||||
Cela permet de modifier le facteur de zoom par l'utilisateur. Veuillez noter que le facteur de zoom peut être défini dans les options tandis que ne permet pas à l'utilisateur de le modifier à l'exécution (f.e. pour une application vitrine ou similaire).
|
||||
|
||||
### Bind
|
||||
|
||||
La liste des structs Go définissant des méthodes qui doivent être liées au frontend.
|
||||
@ -546,6 +534,18 @@ La valeur peut être l'une des valeurs suivantes :
|
||||
| Mica | Utiliser l'effet [Mica](https://learn.microsoft.com/en-us/windows/apps/design/style/mica) |
|
||||
| Tabbed | Utiliser Tabbed. C'est un arrière-plan qui est similaire à Mica. |
|
||||
|
||||
#### ZoomFactor
|
||||
|
||||
Nom: ZoomFactor<br/> Type: `float64`
|
||||
|
||||
Ceci définit le facteur de zoom pour WebView2. Il s'agit de l'option correspondant au zoom avant ou arrière défini par l'utilisateur.
|
||||
|
||||
#### IsZoomControlEnabled
|
||||
|
||||
Nom : IsZoomControlEnabled<br/> Type : `bool`
|
||||
|
||||
Cela permet de modifier le facteur de zoom par l'utilisateur. Veuillez noter que le facteur de zoom peut être défini dans les options tandis que ne permet pas à l'utilisateur de le modifier à l'exécution (f.e. pour une application vitrine ou similaire).
|
||||
|
||||
#### DisablePinchZoom
|
||||
|
||||
Setting this to `true` will disable pinch zoom gestures.
|
||||
|
@ -420,18 +420,6 @@ EnableFraudulentWebsiteDetectionは、マルウェアやフィッシング詐欺
|
||||
|
||||
名前: EnableFraudulentWebsiteDetection<br/> データ型: `bool`
|
||||
|
||||
### ZoomFactor
|
||||
|
||||
名前: ZoomFactor<br/> データ型: `float64`
|
||||
|
||||
WebView2の拡大率を定義します。 これは、Edgeのユーザによるズームインまたはズームアウトに対応するオプションです。
|
||||
|
||||
### IsZoomControlEnabled
|
||||
|
||||
名前: IsZoomControlEnabled<br/> データ型: `bool`
|
||||
|
||||
このオプションを有効にすると、拡大率をユーザによって変更することができます。 拡大率の変更がユーザに許可されていない間は、オプションで拡大率を設定することができますのでご注意ください (例: キオスクアプリケーションなど)。
|
||||
|
||||
### Bind
|
||||
|
||||
フロントエンドにバインドする必要があるメソッドが定義された、構造体インスタンスのスライスです。
|
||||
@ -546,6 +534,18 @@ Name: CSSDropValue<br/> Type: `string`<br/> Default: `drop`
|
||||
| Mica | [マイカ](https://learn.microsoft.com/ja-jp/windows/apps/design/style/mica)の効果を使用する |
|
||||
| Tabbed | タブを使用する。 これはマイカに似ている背景です。 |
|
||||
|
||||
#### ZoomFactor
|
||||
|
||||
名前: ZoomFactor<br/> データ型: `float64`
|
||||
|
||||
WebView2の拡大率を定義します。 これは、Edgeのユーザによるズームインまたはズームアウトに対応するオプションです。
|
||||
|
||||
#### IsZoomControlEnabled
|
||||
|
||||
名前: IsZoomControlEnabled<br/> データ型: `bool`
|
||||
|
||||
このオプションを有効にすると、拡大率をユーザによって変更することができます。 拡大率の変更がユーザに許可されていない間は、オプションで拡大率を設定することができますのでご注意ください (例: キオスクアプリケーションなど)。
|
||||
|
||||
#### DisablePinchZoom
|
||||
|
||||
Setting this to `true` will disable pinch zoom gestures.
|
||||
|
@ -420,18 +420,6 @@ EnableFraudulentWebsiteDetection enables scan services for fraudulent content, s
|
||||
|
||||
Name: EnableFraudulentWebsiteDetection<br/> Type: `bool`
|
||||
|
||||
### ZoomFactor
|
||||
|
||||
Name: ZoomFactor<br/> Type: `float64`
|
||||
|
||||
This defines the zoom factor for the WebView2. This is the option matching the Edge user activated zoom in or out.
|
||||
|
||||
### IsZoomControlEnabled
|
||||
|
||||
Name: IsZoomControlEnabled<br/> Type: `bool`
|
||||
|
||||
This enables the zoom factor to be changed by the user. Please note that the zoom factor can be set in the options while disallowing the user to change it at runtime (f.e. for a kiosk application or similar).
|
||||
|
||||
### Bind
|
||||
|
||||
A slice of struct instances defining methods that need to be bound to the frontend.
|
||||
@ -546,6 +534,18 @@ 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. |
|
||||
|
||||
#### ZoomFactor
|
||||
|
||||
Name: ZoomFactor<br/> Type: `float64`
|
||||
|
||||
This defines the zoom factor for the WebView2. This is the option matching the Edge user activated zoom in or out.
|
||||
|
||||
#### IsZoomControlEnabled
|
||||
|
||||
Name: IsZoomControlEnabled<br/> Type: `bool`
|
||||
|
||||
This enables the zoom factor to be changed by the user. Please note that the zoom factor can be set in the options while disallowing the user to change it at runtime (f.e. for a kiosk application or similar).
|
||||
|
||||
#### DisablePinchZoom
|
||||
|
||||
Setting this to `true` will disable pinch zoom gestures.
|
||||
|
@ -420,18 +420,6 @@ EnableFraudulentWebsiteDetection enables scan services for fraudulent content, s
|
||||
|
||||
Name: EnableFraudulentWebsiteDetection<br/> Type: `bool`
|
||||
|
||||
### ZoomFactor
|
||||
|
||||
Name: ZoomFactor<br/> Type: `float64`
|
||||
|
||||
This defines the zoom factor for the WebView2. This is the option matching the Edge user activated zoom in or out.
|
||||
|
||||
### IsZoomControlEnabled
|
||||
|
||||
Name: IsZoomControlEnabled<br/> Type: `bool`
|
||||
|
||||
This enables the zoom factor to be changed by the user. Please note that the zoom factor can be set in the options while disallowing the user to change it at runtime (f.e. for a kiosk application or similar).
|
||||
|
||||
### Bind
|
||||
|
||||
A slice of struct instances defining methods that need to be bound to the frontend.
|
||||
@ -546,6 +534,18 @@ 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. |
|
||||
|
||||
#### ZoomFactor
|
||||
|
||||
Name: ZoomFactor<br/> Type: `float64`
|
||||
|
||||
This defines the zoom factor for the WebView2. This is the option matching the Edge user activated zoom in or out.
|
||||
|
||||
#### IsZoomControlEnabled
|
||||
|
||||
Name: IsZoomControlEnabled<br/> Type: `bool`
|
||||
|
||||
This enables the zoom factor to be changed by the user. Please note that the zoom factor can be set in the options while disallowing the user to change it at runtime (f.e. for a kiosk application or similar).
|
||||
|
||||
#### DisablePinchZoom
|
||||
|
||||
Setting this to `true` will disable pinch zoom gestures.
|
||||
|
@ -420,18 +420,6 @@ EnableFraudulentWebsiteDetection enables scan services for fraudulent content, s
|
||||
|
||||
Name: EnableFraudulentWebsiteDetection<br/> Type: `bool`
|
||||
|
||||
### ZoomFactor
|
||||
|
||||
Name: ZoomFactor<br/> Type: `float64`
|
||||
|
||||
This defines the zoom factor for the WebView2. This is the option matching the Edge user activated zoom in or out.
|
||||
|
||||
### IsZoomControlEnabled
|
||||
|
||||
Name: IsZoomControlEnabled<br/> Type: `bool`
|
||||
|
||||
This enables the zoom factor to be changed by the user. Please note that the zoom factor can be set in the options while disallowing the user to change it at runtime (f.e. for a kiosk application or similar).
|
||||
|
||||
### Bind
|
||||
|
||||
A slice of struct instances defining methods that need to be bound to the frontend.
|
||||
@ -546,6 +534,18 @@ 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. |
|
||||
|
||||
#### ZoomFactor
|
||||
|
||||
Name: ZoomFactor<br/> Type: `float64`
|
||||
|
||||
This defines the zoom factor for the WebView2. This is the option matching the Edge user activated zoom in or out.
|
||||
|
||||
#### IsZoomControlEnabled
|
||||
|
||||
Name: IsZoomControlEnabled<br/> Type: `bool`
|
||||
|
||||
This enables the zoom factor to be changed by the user. Please note that the zoom factor can be set in the options while disallowing the user to change it at runtime (f.e. for a kiosk application or similar).
|
||||
|
||||
#### DisablePinchZoom
|
||||
|
||||
Setting this to `true` will disable pinch zoom gestures.
|
||||
|
@ -420,18 +420,6 @@ EnableFraudulentWebsiteDetection enables scan services for fraudulent content, s
|
||||
|
||||
Name: EnableFraudulentWebsiteDetection<br/> Type: `bool`
|
||||
|
||||
### ZoomFactor
|
||||
|
||||
Name: ZoomFactor<br/> Type: `float64`
|
||||
|
||||
This defines the zoom factor for the WebView2. This is the option matching the Edge user activated zoom in or out.
|
||||
|
||||
### IsZoomControlEnabled
|
||||
|
||||
Name: IsZoomControlEnabled<br/> Type: `bool`
|
||||
|
||||
This enables the zoom factor to be changed by the user. Please note that the zoom factor can be set in the options while disallowing the user to change it at runtime (f.e. for a kiosk application or similar).
|
||||
|
||||
### Bind
|
||||
|
||||
A slice of struct instances defining methods that need to be bound to the frontend.
|
||||
@ -546,6 +534,18 @@ 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. |
|
||||
|
||||
#### ZoomFactor
|
||||
|
||||
Name: ZoomFactor<br/> Type: `float64`
|
||||
|
||||
This defines the zoom factor for the WebView2. This is the option matching the Edge user activated zoom in or out.
|
||||
|
||||
#### IsZoomControlEnabled
|
||||
|
||||
Name: IsZoomControlEnabled<br/> Type: `bool`
|
||||
|
||||
This enables the zoom factor to be changed by the user. Please note that the zoom factor can be set in the options while disallowing the user to change it at runtime (f.e. for a kiosk application or similar).
|
||||
|
||||
#### DisablePinchZoom
|
||||
|
||||
Setting this to `true` will disable pinch zoom gestures.
|
||||
|
@ -420,18 +420,6 @@ EnableFraudulentWebsiteDetection enables scan services for fraudulent content, s
|
||||
|
||||
Name: EnableFraudulentWebsiteDetection<br/> Type: `bool`
|
||||
|
||||
### ZoomFactor
|
||||
|
||||
Name: ZoomFactor<br/> Type: `float64`
|
||||
|
||||
This defines the zoom factor for the WebView2. This is the option matching the Edge user activated zoom in or out.
|
||||
|
||||
### IsZoomControlEnabled
|
||||
|
||||
Name: IsZoomControlEnabled<br/> Type: `bool`
|
||||
|
||||
This enables the zoom factor to be changed by the user. Please note that the zoom factor can be set in the options while disallowing the user to change it at runtime (f.e. for a kiosk application or similar).
|
||||
|
||||
### Bind
|
||||
|
||||
A slice of struct instances defining methods that need to be bound to the frontend.
|
||||
@ -546,6 +534,18 @@ 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. |
|
||||
|
||||
#### ZoomFactor
|
||||
|
||||
Name: ZoomFactor<br/> Type: `float64`
|
||||
|
||||
This defines the zoom factor for the WebView2. This is the option matching the Edge user activated zoom in or out.
|
||||
|
||||
#### IsZoomControlEnabled
|
||||
|
||||
Name: IsZoomControlEnabled<br/> Type: `bool`
|
||||
|
||||
This enables the zoom factor to be changed by the user. Please note that the zoom factor can be set in the options while disallowing the user to change it at runtime (f.e. for a kiosk application or similar).
|
||||
|
||||
#### DisablePinchZoom
|
||||
|
||||
Setting this to `true` will disable pinch zoom gestures.
|
||||
|
@ -420,18 +420,6 @@ EnableFraudulentWebsiteDetection 启用针对欺诈内容(例如恶意软件
|
||||
|
||||
名称:EnableFraudulentWebsiteDetection<br/> 类型:`bool`
|
||||
|
||||
### 缩放比例
|
||||
|
||||
名称:ZoomFactor<br/> 类型:`float64`
|
||||
|
||||
这定义了 WebView2 的缩放比例。 这是匹配 Edge 用户激活放大或缩小的选项
|
||||
|
||||
### 启用缩放比例
|
||||
|
||||
名称:IsZoomControlEnabled<br/> 类型:`bool`
|
||||
|
||||
这将允许用户更改缩放比例。 请注意,可以在选项中设置缩放比例,但不允许在运行时更改它。 适用于屏幕固定的或类似的应用程序。
|
||||
|
||||
### 绑定
|
||||
|
||||
定义需要绑定到前端的方法的结构实例切片。
|
||||
@ -546,6 +534,18 @@ Name: CSSDropValue<br/> Type: `string`<br/> Default: `drop`
|
||||
| Mica | 使用 [Mica](https://learn.microsoft.com/en-us/windows/apps/design/style/mica) 效果 |
|
||||
| Tabbed | 使用 Tabbed。 这是一个类似于 Mica 的背景。 |
|
||||
|
||||
#### 缩放比例
|
||||
|
||||
名称:ZoomFactor<br/> 类型:`float64`
|
||||
|
||||
这定义了 WebView2 的缩放比例。 这是匹配 Edge 用户激活放大或缩小的选项
|
||||
|
||||
#### 启用缩放比例
|
||||
|
||||
名称:IsZoomControlEnabled<br/> 类型:`bool`
|
||||
|
||||
这将允许用户更改缩放比例。 请注意,可以在选项中设置缩放比例,但不允许在运行时更改它。 适用于屏幕固定的或类似的应用程序。
|
||||
|
||||
#### DisablePinchZoom
|
||||
|
||||
Setting this to `true` will disable pinch zoom gestures.
|
||||
|
@ -20,6 +20,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Fixed file drop events on windows. Fixed in [PR](https://github.com/wailsapp/wails/pull/3595) by @FrancescoLuzzi
|
||||
- Fixed doctor command not finding pkg-config on Solus. [PR #3670](https://github.com/wailsapp/wails/pull/3670) by [@ianmjones](https://github.com/ianmjones)
|
||||
- Fixed binding for struct fields that were exported but had no json tags. [PR #3678](https://github.com/wailsapp/wails/pull/3678)
|
||||
+ Fixed file drop events on Windows in [PR](https://github.com/wailsapp/wails/pull/3595) by @FrancescoLuzzi
|
||||
+ Modified `ZoomFactor` and `IsZoomControlEnabled` options to be Windows-only options in PR[#3644](https://github.com/wailsapp/wails/pull/3644) by @levinit
|
||||
|
||||
## v2.9.1 - 2024-06-18
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user