tweak curve view UI

This commit is contained in:
True Zhuanjia
2026-03-21 13:27:45 +08:00
parent c3358efa9d
commit 22aa0a5249
+2 -2
View File
@@ -555,8 +555,8 @@ class PressureCurveViewController: UIViewController, UIGestureRecognizerDelegate
curveView.layer.cornerRadius = 0
curveView.layer.masksToBounds = true
container = UIView(frame: CGRect(x: 0, y: 0, width: curveWidth+10, height: curveHeight+148))
container.center = CGPoint(x: self.view.bounds.midX, y: self.view.bounds.midY+3)
container = UIView(frame: CGRect(x: 0, y: 0, width: curveWidth+10, height: curveHeight+152))
container.center = CGPoint(x: self.view.bounds.midX, y: self.view.bounds.midY+6.5)
container.backgroundColor = .white
container.layer.cornerRadius = 12
container.layer.masksToBounds = true