|
@@ -1225,10 +1225,11 @@ var redraw: boolean;
|
|
begin
|
|
begin
|
|
if not Assigned(FImageView) then exit;
|
|
if not Assigned(FImageView) then exit;
|
|
|
|
|
|
- redraw := ToolManager.ToolMove(FImageView.FormToBitmap(X,Y),CurrentPressure);
|
|
|
|
|
|
+ redraw := false;
|
|
if (btnLeftDown and (Button = mbLeft)) or (btnRightDown and (Button=mbRight))
|
|
if (btnLeftDown and (Button = mbLeft)) or (btnRightDown and (Button=mbRight))
|
|
or (btnMiddleDown and (Button = mbMiddle)) then
|
|
or (btnMiddleDown and (Button = mbMiddle)) then
|
|
begin
|
|
begin
|
|
|
|
+ redraw := ToolManager.ToolMove(FImageView.FormToBitmap(X,Y),CurrentPressure);
|
|
if ToolManager.ToolUp then redraw := true;
|
|
if ToolManager.ToolUp then redraw := true;
|
|
btnLeftDown := false;
|
|
btnLeftDown := false;
|
|
btnRightDown := false;
|
|
btnRightDown := false;
|