You've already forked lazarus-ccr
tvplanit: Fix week painting artefacts due to scrolling. Fix truncation error of all-day events at limits of date range.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8502 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -425,6 +425,9 @@ begin
|
||||
R := ScaleRect(R);
|
||||
OffsetRect(R, -dx , 0);
|
||||
|
||||
if R.Right <= RealLeft + FScaledFixedColWidth then
|
||||
continue;
|
||||
|
||||
// Clip at fixed col edge
|
||||
if R.Left < RealLeft + FScaledFixedColWidth then
|
||||
R.Left := RealLeft + FScaledFixedColWidth;
|
||||
@ -433,7 +436,7 @@ begin
|
||||
if FGanttView.DrawingStyle = ds3D then
|
||||
begin
|
||||
R1 := R;
|
||||
if i > 0 then
|
||||
// if i > 0 then
|
||||
inc(R1.Left);
|
||||
dec(R1.Bottom);
|
||||
DrawBevelRect(
|
||||
@ -616,6 +619,9 @@ begin
|
||||
R := ScaleRect(R);
|
||||
OffsetRect(R, -dx , 0);
|
||||
|
||||
if R.Right <= RealLeft + FScaledFixedColWidth then
|
||||
Continue;
|
||||
|
||||
// Clip at fixed col edge
|
||||
if R.Left < RealLeft + FScaledFixedColWidth then
|
||||
R.Left := RealLeft + FScaledFixedColWidth;
|
||||
@ -624,7 +630,7 @@ begin
|
||||
if FGanttView.DrawingStyle = ds3D then
|
||||
begin
|
||||
R1 := R;
|
||||
if i > 0 then
|
||||
// if i > 0 then
|
||||
inc(R1.Left);
|
||||
dec(R1.Bottom);
|
||||
DrawBevelLine(
|
||||
|
Reference in New Issue
Block a user