More cleanup

This commit is contained in:
Janus C. H. Knudsen 2025-10-14 19:21:28 +02:00
parent ee4b9b3707
commit 4bd94d3be2
4 changed files with 36 additions and 217 deletions

View file

@ -224,6 +224,7 @@ export class EventRenderingService {
}
private setupDragMouseLeaveHeaderListener(): void {
this.dragMouseLeaveHeaderListener = (event: Event) => {
const { targetDate, mousePosition, originalElement, draggedClone: cloneElement } = (event as CustomEvent<DragMouseLeaveHeaderEventPayload>).detail;

View file

@ -193,15 +193,7 @@ export class GridRenderer {
parentContainer.appendChild(newGrid);
console.log('Grid created using createOptimizedGridContainer:', newGrid);
console.log('Emitting GRID_RENDERED');
eventBus.emit(CoreEvents.GRID_RENDERED, {
container: newGrid, // Specific grid container, not parent
currentDate: weekStart,
startDate: weekStart,
endDate: weekEnd,
isNavigation: true // Flag to indicate this is navigation rendering
});
console.log('Grid creation complete - caller will emit GRID_RENDERED');
console.groupEnd();
return newGrid;