Browse Source

Update ParentPanelController+UpcomingEvents.swift

pull/101/head
Abhishek 3 years ago
parent
commit
21f71eb06f
  1. 2
      Clocker/Panel/Upcoming Events/ParentPanelController+UpcomingEvents.swift

2
Clocker/Panel/Upcoming Events/ParentPanelController+UpcomingEvents.swift

@ -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")

Loading…
Cancel
Save