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.
@@ -159,22 +159,22 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
159
159
}
160
160
161
161
#if DEBUG_MENU
162
- /// Handle the triple- tap gesture and launch the debug menu.
162
+ /// Handle the tap gesture and launch the debug menu.
163
163
@objc
164
- private func handleTripleTapGesture ( ) {
164
+ private func handleTapGesture ( ) {
165
165
appProcessor? . showDebugMenu ( )
166
166
}
167
167
#endif
168
168
169
169
#if DEBUG_MENU
170
- /// Add the triple- tap gesture recognizer to the window.
171
- private func addTripleTapGestureRecognizer ( to window: UIWindow ) {
170
+ /// Add the tap gesture recognizer to the window.
171
+ private func addTapGestureRecognizer ( to window: UIWindow ) {
172
172
let tapGesture = UITapGestureRecognizer (
173
173
target: self ,
174
- action: #selector( handleTripleTapGesture )
174
+ action: #selector( handleTapGesture )
175
175
)
176
176
tapGesture. numberOfTapsRequired = 3
177
- tapGesture. numberOfTouchesRequired = 3
177
+ tapGesture. numberOfTouchesRequired = 1
178
178
window. addGestureRecognizer ( tapGesture)
179
179
}
180
180
#endif
You can’t perform that action at this time.
0 commit comments