Преглед на файлове

call CatchToolKey instead of ToolManager

Johann ELSASS преди 2 години
родител
ревизия
cb6827e31e
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      lazpaint/lazpaintmainform.pas

+ 2 - 2
lazpaint/lazpaintmainform.pas

@@ -3911,12 +3911,12 @@ procedure TFMain.UpdateSpecialKeys(Shift: TShiftState);
   begin
     if (AShift in Shift) and not APressed then
     begin
-      if ToolManager.ToolKeyDown(ACode) then PaintPictureNow;
+      if CatchToolKeyDown(ACode) then PaintPictureNow;
       APressed:= true;
     end else
     if not (AShift in Shift) and APressed then
     begin
-      if ToolManager.ToolKeyUp(ACode) then PaintPictureNow;
+      if CatchToolKeyUp(ACode) then PaintPictureNow;
       APressed:= false;
     end;
   end;