Browse Source

重画数据时, 起点位置,和划动到起点位置都要重置

jsonwang 3 years ago
parent
commit
80dba442e8
1 changed files with 3 additions and 0 deletions
  1. 3 0
      BFFramework/Classes/Stuckpoint/View/PQStuckPointCuttingView.swift

+ 3 - 0
BFFramework/Classes/Stuckpoint/View/PQStuckPointCuttingView.swift

@@ -280,6 +280,9 @@ class PQStuckPointCuttingView: UIView {
             layer.strokeColor = UIColor.hexColor(hexadecimal: "#999999").cgColor
             layer.setNeedsDisplay()
         }
+        
+        isUserDrag = false
+        isDrawLine = false
     }
 
     /// 生成波纹