Extracts drag hover logic into dedicated manager

Moves event hover handling from DragDropManager to a new DragHoverManager.

This improves separation of concerns and makes the hover logic more modular and reusable. The DragHoverManager is now responsible for tracking when the mouse hovers over events, and it emits events for other parts of the application to react to.

The drag:start event is used to deactivate hover tracking when a drag operation starts.
This commit is contained in:
Janus C. H. Knudsen 2025-10-13 23:05:03 +02:00
parent 78ad5d3bc0
commit 82921e0643
4 changed files with 134 additions and 88 deletions

View file

@ -15,6 +15,7 @@ export interface CalendarManagers {
allDayManager: unknown; // Avoid interface conflicts
resizeHandleManager: ResizeHandleManager;
edgeScrollManager: unknown; // Avoid interface conflicts
dragHoverManager: unknown; // Avoid interface conflicts
}
/**