define precision scrolling and momentum structs, C API

This commit is contained in:
Mitchell Hashimoto
2023-06-29 10:38:15 -07:00
parent 481107b41d
commit 20f46d5c08
4 changed files with 65 additions and 3 deletions

View File

@@ -298,7 +298,7 @@ extension Ghostty {
y *= 0.1
}
ghostty_surface_mouse_scroll(surface, x, y)
ghostty_surface_mouse_scroll(surface, x, y, 0)
}
override func keyDown(with event: NSEvent) {