You've already forked lazarus-ccr
tvplanit: Fix incorrect VpMonthView painting when date is 0 (Dec 30, 1899).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8764 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -1558,7 +1558,7 @@ end;
|
|||||||
|
|
||||||
procedure TVpMonthView.MouseEnter;
|
procedure TVpMonthView.MouseEnter;
|
||||||
begin
|
begin
|
||||||
FMouseDate := 0;
|
FMouseDate := -MaxInt;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TVpMonthView.MouseLeave;
|
procedure TVpMonthView.MouseLeave;
|
||||||
|
@ -841,7 +841,7 @@ var
|
|||||||
begin
|
begin
|
||||||
inherited;
|
inherited;
|
||||||
|
|
||||||
FDisplayDate := IfThen(RenderDate = 0, Date, RenderDate);
|
FDisplayDate := RenderDate;
|
||||||
|
|
||||||
with TVpMonthViewOpener(FMonthView) do
|
with TVpMonthViewOpener(FMonthView) do
|
||||||
begin
|
begin
|
||||||
|
Reference in New Issue
Block a user