mirror of
https://github.com/avatsaev/touchbar_nyancat
synced 2024-11-24 20:23:06 +00:00
fix available mac os version
This commit is contained in:
parent
f69cc5d4f9
commit
18eb50955b
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ class NyanCatCanvas: NSImageView {
|
|||
|
||||
|
||||
override func touchesMoved(with event: NSEvent) {
|
||||
if #available(OSX 10.12.1, *) {
|
||||
if #available(OSX 10.12.2, *) {
|
||||
let current = event.allTouches().first?.location(in: self).x ?? 0
|
||||
let previous = event.allTouches().first?.previousLocation(in: self).x ?? 0
|
||||
|
||||
|
|
Loading…
Reference in a new issue