|
@@ -146,11 +146,13 @@ public class FloatingButton: UIView {
|
|
|
|
|
|
scrollView = UIScrollView()
|
|
|
scrollView.translatesAutoresizingMaskIntoConstraints = false
|
|
|
-// scrollView.layer.borderWidth = 1.0
|
|
|
-// scrollView.layer.borderColor = UIColor.white.cgColor
|
|
|
-// scrollView.layer.cornerRadius = 8.0
|
|
|
-// scrollView.layer.masksToBounds = true
|
|
|
-// scrollView.backgroundColor = .black.withAlphaComponent(0.25)
|
|
|
+ if Utils.getFBItemBg() == "1" && Utils.getConfigModeFB() == MODE_VERTICAL_FLOATING_BUTTON {
|
|
|
+ scrollView.layer.borderWidth = 1.0
|
|
|
+ scrollView.layer.borderColor = UIColor.white.cgColor
|
|
|
+ scrollView.layer.cornerRadius = 8.0
|
|
|
+ scrollView.layer.masksToBounds = true
|
|
|
+ scrollView.backgroundColor = .black.withAlphaComponent(0.25)
|
|
|
+ }
|
|
|
addSubview(scrollView)
|
|
|
|
|
|
if Utils.getConfigModeFB() != MODE_HORIZONTAL_SIDE_TAB {
|