     }
 
     /**
-    Sets the horizontal padding of the text within event labels.
+     Sets the horizontal padding of the text within event labels.
      */
     func setEventLabelHorizontalTextPadding(to padding: CGFloat) {
         TextVariables.eventLabelHorizontalTextPadding = padding

    private var yearToday: Int = DayDate.today.year
    // Current period
    private var currentPeriod: Period = Period(ofDate: DayDate.today)
    // Bool stores if event thread is running
    private var eptRunning: Bool = false
    // Bool stores if event thread should stop
    private var eptSafeContinue: Bool = false
    // Bool stores is view is scrolling to a specific day
    private var scrollingToDay: Bool = false
    // Stores most recently assigned event data
    private var eptTempData: [EventData]?
    // Previous zoom scale of content
    private var previousZoomTouch: CGPoint?
    // Current zoom scale of content

                return diff1 == diff2 ? smaller > larger : diff1 < diff2
            }

            // Safe exit from Event Processing Thread
            DispatchQueue.main.sync {
                self.eptRunning = false
                self.eventsData = newEventsData
                self.allDayEventsData = newAllDayEvents
                for cell in self.dayCollectionView.visibleCells {
