mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-04 04:18:22 +01:00
LazReport: Snap to guide while drawing one inserted object.
git-svn-id: trunk@62443 -
This commit is contained in:
parent
f98cd17789
commit
7d87865122
@ -2597,13 +2597,17 @@ begin
|
||||
Moved := True;
|
||||
w := 2;
|
||||
|
||||
if FDesigner.ShowGuides then begin
|
||||
if FDesigner.ShowGuides then
|
||||
begin
|
||||
if not down then
|
||||
// normal snap guide to any object
|
||||
fGuides.FindGuides(x, y)
|
||||
else begin
|
||||
if Cursor = crPencil then
|
||||
// normal snap to guide for drawing lines
|
||||
else
|
||||
begin
|
||||
if (Cursor = crPencil) or
|
||||
(Cursor = crCross)
|
||||
then
|
||||
// normal snap to guide for inserting objects or drawing lines
|
||||
fGuides.FindGuides(x, y);
|
||||
end;
|
||||
end;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user