File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
50
50
window = appWindow
51
51
52
52
#if DEBUG_MENU
53
- addTripleTapGestureRecognizer ( to: appWindow)
53
+ addTapGestureRecognizer ( to: appWindow)
54
54
#endif
55
55
56
56
// Splash window. This is initially visible until the app's processor has finished starting.
@@ -153,22 +153,22 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
153
153
}
154
154
155
155
#if DEBUG_MENU
156
- /// Handle the triple- tap gesture and launch the debug menu.
156
+ /// Handle the tap gesture and launch the debug menu.
157
157
@objc
158
- private func handleTripleTapGesture ( ) {
158
+ private func handleTapGesture ( ) {
159
159
appProcessor? . showDebugMenu ( )
160
160
}
161
161
#endif
162
162
163
163
#if DEBUG_MENU
164
- /// Add the triple- tap gesture recognizer to the window.
165
- private func addTripleTapGestureRecognizer ( to window: UIWindow ) {
164
+ /// Add the tap gesture recognizer to the window.
165
+ private func addTapGestureRecognizer ( to window: UIWindow ) {
166
166
let tapGesture = UITapGestureRecognizer (
167
167
target: self ,
168
- action: #selector( handleTripleTapGesture )
168
+ action: #selector( handleTapGesture )
169
169
)
170
170
tapGesture. numberOfTapsRequired = 3
171
- tapGesture. numberOfTouchesRequired = 3
171
+ tapGesture. numberOfTouchesRequired = 1
172
172
window. addGestureRecognizer ( tapGesture)
173
173
}
174
174
#endif
You can’t perform that action at this time.
0 commit comments