mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-12 17:59:08 +02:00
Grids: fix col/rowsizing after commit d70fd7f2
.
This commit is contained in:
parent
cebc92b18c
commit
c3cd60d26d
@ -6903,14 +6903,14 @@ begin
|
||||
|
||||
gzFixedCols:
|
||||
begin
|
||||
if (goColSizing in Options) and (FCursorState=gcsColWidthChanging) then begin
|
||||
fGridState:= gsColSizing;
|
||||
if (goRowSizing in Options) and (FCursorState=gcsRowHeightChanging) then begin
|
||||
fGridState:= gsRowSizing;
|
||||
FGCache.OldMaxTopLeft := FGCache.MaxTopLeft;
|
||||
end
|
||||
else begin
|
||||
// ColMoving or Clicking
|
||||
if fGridState<>gsColMoving then begin
|
||||
fGridState:=gsColMoving;
|
||||
if fGridState<>gsRowMoving then begin
|
||||
fGridState:=gsRowMoving;
|
||||
ResetLastMove;
|
||||
end;
|
||||
|
||||
@ -6924,11 +6924,11 @@ begin
|
||||
|
||||
gzFixedRows:
|
||||
begin
|
||||
if (goRowSizing in Options) and (FCursorState=gcsRowHeightChanging) then
|
||||
fGridState:= gsRowSizing
|
||||
if (goColSizing in Options) and (FCursorState=gcsColWidthChanging) then
|
||||
fGridState:= gsColSizing
|
||||
else begin
|
||||
// RowMoving or Clicking
|
||||
fGridState:=gsRowMoving;
|
||||
fGridState:=gsColMoving;
|
||||
ResetLastMove;
|
||||
if ((goHeaderPushedLook in Options) and
|
||||
(FGCache.HotGridZone in FHeaderPushZones)) then
|
||||
|
Loading…
Reference in New Issue
Block a user