forked from Blendman974/faceclaw
Apple Watch: Sound-effects and vibrate settings, build scripts
This commit is contained in:
1 parent
2696f3b76c
commit
6df52021c8
13 files changed
+117
-29
No files matched your search
@@ -171,8 +171,8 @@ final class PadController {
|
||||
let steps = Int(crownRemainder.rounded(.towardZero))
|
||||
guard steps != 0 else { return }
|
||||
crownRemainder -= Double(steps)
|
||||
let clockwiseNext = link.state?.crownClockwiseNext == true
|
||||
let gesture: RingGesture = (steps > 0) == clockwiseNext ? .scrollDown : .scrollUp
|
||||
// Clockwise moves to the previous item.
|
||||
let gesture: RingGesture = steps > 0 ? .scrollUp : .scrollDown
|
||||
guard gestureAllowed(gesture) else { return }
|
||||
// Capped low: a fast twirl otherwise outruns the display. The crown's
|
||||
// own detent haptics are the feedback, so there's no buzz here.
|
||||
|
||||
Reference in new issue
Block a user