Skip to content

Commit

Permalink
Update lib.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
Rocky43007 committed Feb 2, 2025
1 parent 8d00b5b commit ee63190
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/drag/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ impl Default for DragMode {
}
}

#[cfg(target_os = "macos")]
unsafe impl objc::Encode for DragMode {
fn encode() -> objc::Encoding {
unsafe { objc::Encoding::from_str("Q") } // unsigned long long
Expand Down

0 comments on commit ee63190

Please sign in to comment.