add option for undecorated_shadow on windows (#2285)

* add option for undecorated_shadow on windows

* formated
This commit is contained in:
Night_Hunter 2024-09-05 21:17:44 +12:00 committed by GitHub
parent 6009420b57
commit d1ceada119
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 11 additions and 0 deletions

View file

@ -79,6 +79,10 @@ pub fn window_attributes(
attributes = attributes
.with_skip_taskbar(settings.platform_specific.skip_taskbar);
window_builder = window_builder.with_undecorated_shadow(
settings.platform_specific.undecorated_shadow,
);
}
#[cfg(target_os = "macos")]