File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ class UIFloatMenu {
5050
5151 vc. view. addSubview ( menuView)
5252
53- let pan = UIPanGestureRecognizer ( target: self , action: #selector( UIControlViewDrag ( _: ) ) )
53+ let pan = UIPanGestureRecognizer ( target: self , action: #selector( UIFloatMenuDrag ( _: ) ) )
5454 pan. maximumNumberOfTouches = 1
5555 pan. cancelsTouchesInView = true
5656 menuView. addGestureRecognizer ( pan)
@@ -107,9 +107,8 @@ class UIFloatMenu {
107107 initY. removeAll ( )
108108 }
109109
110- //MARK: - UIControlViewDrag
111- // MARK: - Test
112- @objc static private func UIControlViewDrag( _ sender: UIPanGestureRecognizer ) {
110+ //MARK: - UIFloatMenuDrag
111+ @objc static private func UIFloatMenuDrag( _ sender: UIPanGestureRecognizer ) {
113112 let appRect = UIApplication . shared. windows [ 0 ] . bounds
114113 let topPadding = UIFloatMenuHelper . getPadding ( . top)
115114 let bottomPadding = UIFloatMenuHelper . getPadding ( . bottom)
Original file line number Diff line number Diff line change 55
66import UIKit
77import Foundation
8- import SwiftUI
98
109class UIFloatMenuView : UIView , UITableViewDelegate , UITableViewDataSource {
1110
You can’t perform that action at this time.
0 commit comments