Skip to content

Commit

Permalink
fix: Adjust minimumStartDifference to support 15 min events (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
iamtommcc authored Aug 8, 2021
1 parent 15ddbe9 commit d5020da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DayColumn.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ class DayColumn extends React.Component {
events,
accessors,
slotMetrics,
minimumStartDifference: Math.ceil((step * timeslots) / 2),
minimumStartDifference: Math.ceil((step * timeslots) / 4),
})

return styledEvents.map(({ event, style }, idx) => {
Expand Down

0 comments on commit d5020da

Please sign in to comment.