More cleanup
This commit is contained in:
parent
ee4b9b3707
commit
4bd94d3be2
4 changed files with 36 additions and 217 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue