mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-07 05:18:17 +02:00
fixed Ctrl child selection
git-svn-id: trunk@2216 -
This commit is contained in:
parent
e91d6c41ff
commit
16d0352830
@ -569,6 +569,9 @@ Begin
|
|||||||
// no grabber resizing
|
// no grabber resizing
|
||||||
|
|
||||||
CompIndex:=ControlSelection.IndexOf(MouseDownComponent);
|
CompIndex:=ControlSelection.IndexOf(MouseDownComponent);
|
||||||
|
if ssCtrl in Shift then begin
|
||||||
|
// child selection
|
||||||
|
end else begin
|
||||||
if (ssShift in Shift) then begin
|
if (ssShift in Shift) then begin
|
||||||
// shift key pressed (multiselection)
|
// shift key pressed (multiselection)
|
||||||
|
|
||||||
@ -606,6 +609,7 @@ Begin
|
|||||||
InvalidateWithParent(MouseDownComponent);
|
InvalidateWithParent(MouseDownComponent);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
end;
|
||||||
end else begin
|
end else begin
|
||||||
// mouse down on grabber -> begin sizing
|
// mouse down on grabber -> begin sizing
|
||||||
// grabber is already activated
|
// grabber is already activated
|
||||||
|
Loading…
Reference in New Issue
Block a user