Skip to content

Commit

Permalink
fix #33
Browse files Browse the repository at this point in the history
  • Loading branch information
JirkaDellOro committed Oct 11, 2024
1 parent ac8b0e5 commit 6e7453c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions Distribution/FudgeUserInterface.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions Source/UserInterface/CustomElement/Tree/Tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,9 @@ namespace FudgeUserInterface {
};

private hndDragLeave = (_event: DragEvent): void => {
// let relatedTarget: EventTarget = _event.relatedTarget;
// if (relatedTarget instanceof HTMLElement && !this.contains(relatedTarget) && !this.contains(relatedTarget.offsetParent)) // offset parent is for weird (invisible) divs which are placed over input elements and trigger leave events...
// this.controller.dragDropIndicator.remove();
let relatedTarget: EventTarget = _event.relatedTarget;
if (relatedTarget instanceof HTMLElement && !this.contains(relatedTarget) && !this.contains(relatedTarget.offsetParent)) // offset parent is for weird (invisible) divs which are placed over input elements and trigger leave events...
this.controller.dragDropIndicator.remove();
};

private hndDelete = async (_event: Event): Promise<void> => {
Expand Down

0 comments on commit 6e7453c

Please sign in to comment.