Removes unnecessary destroy methods
This commit is contained in:
parent
4e5077364e
commit
a1e1c5d185
19 changed files with 34 additions and 214 deletions
|
|
@ -229,22 +229,6 @@ export class GridRenderer {
|
|||
(this as any).cachedColumnContainer = columnContainer;
|
||||
}
|
||||
*/
|
||||
/**
|
||||
* Clean up cached elements and event listeners
|
||||
*/
|
||||
public destroy(): void {
|
||||
// Clean up grid-only event listeners
|
||||
// if ((this as any).gridBodyEventListener && (this as any).cachedColumnContainer) {
|
||||
// (this as any).cachedColumnContainer.removeEventListener('mouseover', (this as any).gridBodyEventListener);
|
||||
//}
|
||||
|
||||
// Clear cached references
|
||||
this.cachedGridContainer = null;
|
||||
this.cachedTimeAxis = null;
|
||||
(this as any).gridBodyEventListener = null;
|
||||
(this as any).cachedColumnContainer = null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Create navigation grid container for slide animations
|
||||
* Now uses same implementation as initial load for consistency
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue