CubeStuffs / CubeTime

Simple, modern speedcubing timer with many utilities, built with SwiftUI & UIKit.
https://cubetime.app
GNU General Public License v3.0
90 stars 5 forks source link

New Scramble #179

Open Drkiwii opened 11 months ago

Drkiwii commented 11 months ago

Generating a new scramble by swiping right is not working. The app gives no response and does not respond to any swiping actions. I’ve tried swiping all directions and with different combinations of features. App is up to date. Tried restarting phone and app.

pdtxie commented 10 months ago

Are you on manual input mode? We should have specified that gestures don’t currently work on the manual entry mode :(

Drkiwii commented 10 months ago

Ah dang I am on manual input mode. Thank you for the quick reply! Are there any plans to add this?

pdtxie commented 10 months ago

We’re trying to figure it out. Truth be told we’re kinda struggling so it might be sitting there as a bug for quite a while — really sorry!

flatherskevin commented 7 months ago

@pdtxie what is the issue you are seeing? Just started using this app (and love it), and saw it was open source so I thought about contributing some

pdtxie commented 7 months ago

@flatherskevin I believe I was just slightly too lazy to check the order in which the gesture is recognised. You can play around with TimerTouchView (https://github.com/CubeStuffs/CubeTime/blob/main/CubeTime/Timer/TimerTouchView.swift) which is responsible for the gesture recognising and the TimerView at around line 226 (https://github.com/CubeStuffs/CubeTime/blob/main/CubeTime/Timer/TimerView.swift). You may be able to use requireGestureRecognizerToFail: but I'm not sure how that works with an input field... try it out if you have the patience!