diff options
-rw-r--r-- | video/out/mac/view.swift | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/video/out/mac/view.swift b/video/out/mac/view.swift index 0c6dbcd847..3c0f34722f 100644 --- a/video/out/mac/view.swift +++ b/video/out/mac/view.swift @@ -134,7 +134,7 @@ class View: NSView, CALayerDelegate { } override func mouseDown(with event: NSEvent) { - hasMouseDown = true + hasMouseDown = event.clickCount <= 1 input?.processMouse(event: event) } @@ -145,7 +145,7 @@ class View: NSView, CALayerDelegate { } override func rightMouseDown(with event: NSEvent) { - hasMouseDown = true + hasMouseDown = event.clickCount <= 1 input?.processMouse(event: event) } @@ -155,7 +155,7 @@ class View: NSView, CALayerDelegate { } override func otherMouseDown(with event: NSEvent) { - hasMouseDown = true + hasMouseDown = event.clickCount <= 1 input?.processMouse(event: event) } |