You've already forked lazarus-ccr
tvplanit: Fix GanttView not displaying last event if fully within last day.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8541 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -305,7 +305,7 @@ begin
|
||||
event := eventRec.Event;
|
||||
if event.EndTime < FGanttView.FirstDate then
|
||||
Continue;
|
||||
if event.StartTime > FGanttView.LastDate then
|
||||
if event.StartTime > FGanttView.LastDate + 1then
|
||||
exit;
|
||||
R := ScaleRect(eventRec.EventRect);
|
||||
OffsetRect(R, -dx, -dy);
|
||||
|
Reference in New Issue
Block a user