Fixed bug in setting cursor style

This commit is contained in:
Mikayla Maki
2023-02-07 14:35:46 -08:00
parent 926b59b15d
commit db2aaa4367
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ pub trait Vector2FExt {
impl Vector2FExt for Vector2F {
fn to_screen_ns_point(&self, native_window: id) -> NSPoint {
unsafe {
let point = NSPoint::new(self.x() as f64, -self.y() as f64);
let point = NSPoint::new(self.x() as f64, self.y() as f64);
msg_send![native_window, convertPointToScreen: point]
}
}