Refactors drag and drop manager for efficiency.
Streamlines drag and drop logic by removing unnecessary state variables and simplifying column change handling, enhancing performance and code maintainability.
This commit is contained in:
parent
0764437642
commit
42e28f46bc
3 changed files with 8 additions and 37 deletions
|
|
@ -82,7 +82,7 @@ export interface DragMouseEnterColumnEventPayload {
|
|||
// Drag column change event payload
|
||||
export interface DragColumnChangeEventPayload {
|
||||
originalElement: HTMLElement;
|
||||
draggedClone: HTMLElement | null;
|
||||
draggedClone: HTMLElement;
|
||||
previousColumn: ColumnBounds | null;
|
||||
newColumn: ColumnBounds;
|
||||
mousePosition: MousePosition;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue