Skip to content

Commit

Permalink
fix: bool to BOOL
Browse files Browse the repository at this point in the history
  • Loading branch information
pewsheen committed May 15, 2024
1 parent 9bdbab7 commit fed1027
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/platform_impl/macos/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1628,7 +1628,9 @@ impl WindowExtMacOS for UnownedWindow {
#[inline]
fn set_titlebar_transparent(&self, transparent: bool) {
unsafe {
self.ns_window.setTitlebarAppearsTransparent_(transparent);
self
.ns_window
.setTitlebarAppearsTransparent_(transparent as BOOL);
}
}
}
Expand Down

0 comments on commit fed1027

Please sign in to comment.