Browse Source

Mouse start position in upper left corner.

Margers 1 month ago
parent
commit
690463852b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/fv/src/app.inc

+ 1 - 1
packages/fv/src/app.inc

@@ -1140,7 +1140,7 @@ BEGIN
    InitMsgBox;
    InitMsgBox;
    { init mouse and cursor }
    { init mouse and cursor }
    {$IFDEF FPC_DOTTEDUNITS}System.Console.{$ENDIF}Video.SetCursorType(crHidden);
    {$IFDEF FPC_DOTTEDUNITS}System.Console.{$ENDIF}Video.SetCursorType(crHidden);
-   {$IFDEF FPC_DOTTEDUNITS}System.Console.{$ENDIF}Mouse.SetMouseXY(1,1);
+   SetMouseXY(0,0);    { mouse is zero based, set to left upper corner }
 END;
 END;
 
 
 {--TApplication-------------------------------------------------------------}
 {--TApplication-------------------------------------------------------------}