mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-08-16 19:30:27 +03:00
parent
c426c0dca2
commit
770051ae63
@ -651,7 +651,7 @@ impl<'a, R: Runtime, M: Manager<R>> WindowBuilder<'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]
|
||||
@ -1657,7 +1657,7 @@ impl<R: Runtime> Window<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<()> {
|
||||
|
Loading…
Reference in New Issue
Block a user