Skip to content

Commit

Permalink
fix(ui/side_panel) biome linter broke drag end handler (google#527)
Browse files Browse the repository at this point in the history
* fix(ui/side_panel) biome linter broke drag end handler

* disabled biome noDelete option
  • Loading branch information
chrisj authored Feb 8, 2024
1 parent dbb7336 commit 1946a42
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@
"correctness": {
"useYield": "off",
"noUnsafeFinally": "off"
},
"performance": {
"noDelete": "off"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/ui/side_panel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ export class SidePanelManager extends RefCounted {
}

endDrag() {
this.element.dataset.neuroglancerSidePanelDrag = undefined;
delete this.element.dataset.neuroglancerSidePanelDrag;
this.dragSource = undefined;
}

Expand Down

0 comments on commit 1946a42

Please sign in to comment.