|
|
@ -17,7 +17,7 @@ protocol UpcomingEventPanelDelegate: AnyObject { |
|
|
|
extension ParentPanelController { |
|
|
|
extension ParentPanelController { |
|
|
|
func setupUpcomingEventViewCollectionViewIfNeccesary() { |
|
|
|
func setupUpcomingEventViewCollectionViewIfNeccesary() { |
|
|
|
if upcomingEventCollectionView != nil { |
|
|
|
if upcomingEventCollectionView != nil { |
|
|
|
upcomingEventsDataSource = UpcomingEventsDataSource(self) |
|
|
|
upcomingEventsDataSource = UpcomingEventsDataSource(self, EventCenter.sharedCenter()) |
|
|
|
upcomingEventCollectionView.enclosingScrollView?.scrollerInsets = NSEdgeInsetsZero |
|
|
|
upcomingEventCollectionView.enclosingScrollView?.scrollerInsets = NSEdgeInsetsZero |
|
|
|
upcomingEventCollectionView.enclosingScrollView?.backgroundColor = NSColor.clear |
|
|
|
upcomingEventCollectionView.enclosingScrollView?.backgroundColor = NSColor.clear |
|
|
|
upcomingEventCollectionView.setAccessibility("UpcomingEventCollectionView") |
|
|
|
upcomingEventCollectionView.setAccessibility("UpcomingEventCollectionView") |
|
|
|