kvyatkovskys / KVKCalendar

A most fully customization calendar for Apple platforms 📅
https://kvyatkovskys.github.io/KVKCalendar/
MIT License
537 stars 118 forks source link

Allows creation of event to be triggered by tapping instead of long pressing #376

Closed rakuyoMo closed 1 month ago

rakuyoMo commented 1 month ago

By setting style.timeline.createNewEventMethod to .tap, you can trigger the added action when clicking on the timeline.

Note: In the past, the call to the forceDeselectEvent method could be canceled by isEnabledDefaultTapGestureRecognizer, but now it is necessary to additionally set isEnabledForceDeselectEvent = false