Skip to content

Commit

Permalink
unsafe
Browse files Browse the repository at this point in the history
  • Loading branch information
amrbashir committed Sep 26, 2024
1 parent 913d232 commit 82062eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/tauri-runtime-wry/src/window/macos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ impl super::WindowExt for tao::window::Window {
)
};
unsafe { sheet.setAlphaValue(0.5) };
ns_window.beginSheet_completionHandler(&sheet, None)
unsafe { ns_window.beginSheet_completionHandler(&sheet, None) };
} else if let Some(attached) = unsafe { ns_window.attachedSheet() } {
unsafe { ns_window.endSheet(&attached) };
}
Expand Down

0 comments on commit 82062eb

Please sign in to comment.