mirror of
https://github.com/exyte/Macaw.git
synced 2024-09-11 13:15:35 +03:00
Mouse events fix
This commit is contained in:
parent
325a04d140
commit
3f21d37a8c
@ -173,7 +173,7 @@ import Foundation
|
||||
|
||||
private func handleInput(event: NSEvent, handler: (_ touches: [MTouchEvent]) -> Void ) {
|
||||
// Touch pad
|
||||
guard event.subtype == .touch else {
|
||||
if event.subtype == .touch {
|
||||
let touchPoints = event.touches(matching: .any, in: self).map { touch -> MTouchEvent in
|
||||
let location = touch.location(in: self)
|
||||
let id = Int(bitPattern: Unmanaged.passUnretained(touch).toOpaque())
|
||||
|
Loading…
Reference in New Issue
Block a user