mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-09-11 07:55:34 +03:00
fix: 'ndecorated' typo in window shadow description (#10527)
This commit is contained in:
parent
393428e5c8
commit
10e30c5139
@ -427,7 +427,7 @@
|
||||
]
|
||||
},
|
||||
"shadow": {
|
||||
"description": "Whether or not the window has shadow.\n\n ## Platform-specific\n\n - **Windows:**\n - `false` has no effect on decorated window, shadow are always ON.\n - `true` will make ndecorated window have a 1px white border,\n and on Windows 11, it will have a rounded corners.\n - **Linux:** Unsupported.",
|
||||
"description": "Whether or not the window has shadow.\n\n ## Platform-specific\n\n - **Windows:**\n - `false` has no effect on decorated window, shadow are always ON.\n - `true` will make undecorated window have a 1px white border,\n and on Windows 11, it will have a rounded corners.\n - **Linux:** Unsupported.",
|
||||
"default": true,
|
||||
"type": "boolean"
|
||||
},
|
||||
|
@ -360,7 +360,7 @@ pub trait WindowBuilder: WindowBuilderBase {
|
||||
///
|
||||
/// - **Windows:**
|
||||
/// - `false` has no effect on decorated window, shadows are always ON.
|
||||
/// - `true` will make ndecorated window have a 1px white border,
|
||||
/// - `true` will make undecorated window have a 1px white border,
|
||||
/// and on Windows 11, it will have a rounded corners.
|
||||
/// - **Linux:** Unsupported.
|
||||
#[must_use]
|
||||
|
@ -1365,7 +1365,7 @@ pub struct WindowConfig {
|
||||
///
|
||||
/// - **Windows:**
|
||||
/// - `false` has no effect on decorated window, shadow are always ON.
|
||||
/// - `true` will make ndecorated window have a 1px white border,
|
||||
/// - `true` will make undecorated window have a 1px white border,
|
||||
/// and on Windows 11, it will have a rounded corners.
|
||||
/// - **Linux:** Unsupported.
|
||||
#[serde(default = "default_true")]
|
||||
|
@ -590,7 +590,7 @@ impl<'a, R: Runtime, M: Manager<R>> WebviewWindowBuilder<'a, R, M> {
|
||||
///
|
||||
/// - **Windows:**
|
||||
/// - `false` has no effect on decorated window, shadows are always ON.
|
||||
/// - `true` will make ndecorated window have a 1px white border,
|
||||
/// - `true` will make undecorated window have a 1px white border,
|
||||
/// and on Windows 11, it will have a rounded corners.
|
||||
/// - **Linux:** Unsupported.
|
||||
#[must_use]
|
||||
@ -1394,7 +1394,7 @@ impl<R: Runtime> WebviewWindow<R> {
|
||||
///
|
||||
/// - **Windows:**
|
||||
/// - `false` has no effect on decorated window, shadow are always ON.
|
||||
/// - `true` will make ndecorated window have a 1px white border,
|
||||
/// - `true` will make undecorated window have a 1px white border,
|
||||
/// and on Windows 11, it will have a rounded corners.
|
||||
/// - **Linux:** Unsupported.
|
||||
pub fn set_shadow(&self, enable: bool) -> crate::Result<()> {
|
||||
|
@ -1126,7 +1126,7 @@ class Window {
|
||||
*
|
||||
* - **Windows:**
|
||||
* - `false` has no effect on decorated window, shadows are always ON.
|
||||
* - `true` will make ndecorated window have a 1px white border,
|
||||
* - `true` will make undecorated window have a 1px white border,
|
||||
* and on Windows 11, it will have a rounded corners.
|
||||
* - **Linux:** Unsupported.
|
||||
*
|
||||
@ -2172,7 +2172,7 @@ interface WindowOptions {
|
||||
*
|
||||
* - **Windows:**
|
||||
* - `false` has no effect on decorated window, shadows are always ON.
|
||||
* - `true` will make ndecorated window have a 1px white border,
|
||||
* - `true` will make undecorated window have a 1px white border,
|
||||
* and on Windows 11, it will have a rounded corners.
|
||||
* - **Linux:** Unsupported.
|
||||
*
|
||||
|
@ -427,7 +427,7 @@
|
||||
]
|
||||
},
|
||||
"shadow": {
|
||||
"description": "Whether or not the window has shadow.\n\n ## Platform-specific\n\n - **Windows:**\n - `false` has no effect on decorated window, shadow are always ON.\n - `true` will make ndecorated window have a 1px white border,\n and on Windows 11, it will have a rounded corners.\n - **Linux:** Unsupported.",
|
||||
"description": "Whether or not the window has shadow.\n\n ## Platform-specific\n\n - **Windows:**\n - `false` has no effect on decorated window, shadow are always ON.\n - `true` will make undecorated window have a 1px white border,\n and on Windows 11, it will have a rounded corners.\n - **Linux:** Unsupported.",
|
||||
"default": true,
|
||||
"type": "boolean"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user