Browse Source
Merge pull request #11427 from wmchuang/master
fix: CalendarItem PopulateGrids
pull/11432/head
Max Katz
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/Avalonia.Controls/Calendar/CalendarItem.cs
|
|
|
@ -171,7 +171,7 @@ namespace Avalonia.Controls.Primitives |
|
|
|
var childCount = Calendar.RowsPerMonth + Calendar.RowsPerMonth * Calendar.ColumnsPerMonth; |
|
|
|
using var children = new PooledList<Control>(childCount); |
|
|
|
|
|
|
|
for (int i = 0; i < Calendar.RowsPerMonth; i++) |
|
|
|
for (int i = 0; i < Calendar.ColumnsPerMonth; i++) |
|
|
|
{ |
|
|
|
if (DayTitleTemplate?.Build() is Control cell) |
|
|
|
{ |
|
|
|
|