|
@@ -43,7 +43,7 @@ public class FloatingButton: UIView {
|
|
var defaultWidthFB = (UIScreen.main.bounds.height * 0.5) / 7.5
|
|
var defaultWidthFB = (UIScreen.main.bounds.height * 0.5) / 7.5
|
|
var defaultHeightFB = (UIScreen.main.bounds.height * 0.5) / 7.5
|
|
var defaultHeightFB = (UIScreen.main.bounds.height * 0.5) / 7.5
|
|
let defaultWidthHeightMenuFB = (UIScreen.main.bounds.height * 0.45) / 7.5
|
|
let defaultWidthHeightMenuFB = (UIScreen.main.bounds.height * 0.45) / 7.5
|
|
- let widthFBAnim = (UIScreen.main.bounds.height * 1) / 7.5
|
|
|
|
|
|
+ let widthFBAnim = (UIScreen.main.bounds.height * 0.8) / 7.5
|
|
let heightFBAnim = (UIScreen.main.bounds.height * 1) / 7.5
|
|
let heightFBAnim = (UIScreen.main.bounds.height * 1) / 7.5
|
|
let heightFBSideTab = (UIScreen.main.bounds.height * 1.05) / 7.5
|
|
let heightFBSideTab = (UIScreen.main.bounds.height * 1.05) / 7.5
|
|
let widthFBSideTab: CGFloat = 18
|
|
let widthFBSideTab: CGFloat = 18
|
|
@@ -598,6 +598,7 @@ public class FloatingButton: UIView {
|
|
}
|
|
}
|
|
|
|
|
|
@objc public func hideButton() {
|
|
@objc public func hideButton() {
|
|
|
|
+ animationTimer.invalidate()
|
|
if isShow {
|
|
if isShow {
|
|
show(isShow: false)
|
|
show(isShow: false)
|
|
}
|
|
}
|