HCAWN / gcal-multical-event-merge

Browser extension that visually merges the same event on multiple Google Calendars into one event.
GNU General Public License v3.0
26 stars 5 forks source link

just needed to do the maths! #22

Closed HCAWN closed 1 year ago

HCAWN commented 1 year ago

Multiple events occurring at the same time that should not be merged do not take the full width of the day. The styling of the "master" event was behaving correctly however the "hidden" events weren't being positioned correctly for the click event to open the correct event dialogue. This PR added some more calculations to never assume the event takes up the full width and instead read how wide it actually is, so in theory you could have unlimited events in at the same time and it should work Addresses: https://github.com/HCAWN/gcal-multical-event-merge/issues/21 https://github.com/HCAWN/gcal-multical-event-merge/issues/20

HCAWN commented 1 year ago

Published now