mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-05-31 20:48:41 +03:00
macos: release pressure on mouseUp
This commit is contained in:
@ -450,6 +450,9 @@ extension Ghostty {
|
||||
guard let surface = self.surface else { return }
|
||||
let mods = Ghostty.ghosttyMods(event.modifierFlags)
|
||||
ghostty_surface_mouse_button(surface, GHOSTTY_MOUSE_RELEASE, GHOSTTY_MOUSE_LEFT, mods)
|
||||
|
||||
// Release pressure
|
||||
ghostty_surface_mouse_pressure(surface, 0, 0)
|
||||
}
|
||||
|
||||
override func otherMouseDown(with event: NSEvent) {
|
||||
|
Reference in New Issue
Block a user