Ignore:
Timestamp:
Dec 9, 2024, 11:55:53 AM (13 days ago)
Author:
chronos
Message:
  • Modified: Lowered minimal swipe distance.
  • Modified: Show score and best score as boxes. Place them according window size.
  • Modified: Updated Common package.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/FormMain.pas

    r101 r102  
    137137  D: Real;
    138138  Angle: Real;
     139const
     140  SwipeMinDistance = 50;
    139141begin
    140142  if MouseDown then begin;
    141143    D := MouseStart.Distance(Point(X, Y));
    142     if D > ScaleX(100, 96) then begin
     144    if D > ScaleX(SwipeMinDistance, 96) then begin
    143145      MouseDown := False;
    144146      Angle := AngleOfLine(MouseStart, Point(X, Y));
Note: See TracChangeset for help on using the changeset viewer.