tweak visual effect for touchPads
This commit is contained in:
@@ -272,7 +272,7 @@ import UIKit
|
||||
|
||||
indicatorFrame.frame = CGRectMake(0, 0, 80, 80)
|
||||
indicatorFrame.cornerRadius = 9
|
||||
indicatorBorder.borderWidth = 9
|
||||
indicatorBorder.borderWidth = 7.5
|
||||
indicatorBorder.frame = indicatorFrame.bounds.insetBy(dx: -indicatorBorder.borderWidth, dy: -indicatorBorder.borderWidth) // Adjust the inset as needed
|
||||
indicatorBorder.borderColor = UIColor.clear.cgColor
|
||||
|
||||
@@ -410,7 +410,7 @@ import UIKit
|
||||
let indicatorFrame = CAShapeLayer();
|
||||
let indicatorBorder = CAShapeLayer();
|
||||
|
||||
indicatorFrame.frame = CGRectMake(0, 0, 80, 80)
|
||||
indicatorFrame.frame = CGRectMake(0, 0, 78.5, 78.5)
|
||||
indicatorFrame.cornerRadius = 9
|
||||
indicatorBorder.borderWidth = 6
|
||||
indicatorBorder.frame = indicatorFrame.bounds.insetBy(dx: -indicatorBorder.borderWidth, dy: -indicatorBorder.borderWidth) // Adjust the inset as needed
|
||||
|
||||
Reference in New Issue
Block a user