You've already forked lazarus-ccr
tvplanit: Fix operation of navigation buttons in Preview dialog for weekview.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8533 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -1483,7 +1483,7 @@ var
|
||||
Scale: Extended;
|
||||
StartLine: Integer;
|
||||
EndLine: Integer;
|
||||
oldGanttStartDate, oldGanttEndDate: TDateTime;
|
||||
oldGanttStartDate: TDateTime;
|
||||
|
||||
procedure GetMeasurements;
|
||||
begin
|
||||
@ -1662,6 +1662,8 @@ var
|
||||
Granularity,
|
||||
True
|
||||
);
|
||||
if Element.ItemType = itWeekView then
|
||||
FPrintFormats.Items[CurFormat].DefaultDayInc := 7;
|
||||
end;
|
||||
|
||||
case Element.ItemType of
|
||||
@ -2045,7 +2047,7 @@ begin
|
||||
StartContact := FLastContact;
|
||||
|
||||
LastPage := True;
|
||||
if FHaveDate and (ADate < EndDate) then
|
||||
if FHaveDate and (ADate <= EndDate) then // wp: I consider the end date to be inclusive
|
||||
LastPage := False;
|
||||
if FHaveTaskList and (FLastTask >= 0) then
|
||||
LastPage := False;
|
||||
|
@ -1112,6 +1112,7 @@ begin
|
||||
if v <> FZoomFactor then begin
|
||||
FZoomFactor := v;
|
||||
ClearPageData;
|
||||
GeneratePageImage;
|
||||
SetScrollBars;
|
||||
Invalidate;
|
||||
end;
|
||||
|
Reference in New Issue
Block a user