Changeset 102 for trunk/Forms/FormMain.pas
- Timestamp:
- Dec 9, 2024, 11:55:53 AM (13 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/FormMain.pas
r101 r102 137 137 D: Real; 138 138 Angle: Real; 139 const 140 SwipeMinDistance = 50; 139 141 begin 140 142 if MouseDown then begin; 141 143 D := MouseStart.Distance(Point(X, Y)); 142 if D > ScaleX( 100, 96) then begin144 if D > ScaleX(SwipeMinDistance, 96) then begin 143 145 MouseDown := False; 144 146 Angle := AngleOfLine(MouseStart, Point(X, Y));
Note:
See TracChangeset
for help on using the changeset viewer.