Browse Source
Merge branch 'master' into fix-web-mixing-pointer-touch-event
pull/8285/head
Max Katz
4 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
|
|
|
@ -218,7 +218,7 @@ namespace Avalonia.Controls.Primitives |
|
|
|
if (YearView != null) |
|
|
|
{ |
|
|
|
var childCount = Calendar.RowsPerYear * Calendar.ColumnsPerYear; |
|
|
|
var children = new List<IControl>(childCount); |
|
|
|
using var children = new PooledList<IControl>(childCount); |
|
|
|
|
|
|
|
EventHandler<PointerPressedEventArgs> monthCalendarButtonMouseDown = Month_CalendarButtonMouseDown; |
|
|
|
EventHandler<PointerReleasedEventArgs> monthCalendarButtonMouseUp = Month_CalendarButtonMouseUp; |
|
|
|
|