mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-23 17:43:47 +03:00
Remove outdated comment
- the container div is now added programatically
This commit is contained in:
parent
d45fdd3846
commit
d26c92bea4
@ -81,11 +81,6 @@ export function draggable(node: HTMLElement, opts: Partial<DraggableOptions> | u
|
||||
dragHandle = e.target as HTMLElement;
|
||||
}
|
||||
|
||||
/**
|
||||
* The problem with the ghost element is that it gets clipped after rotation unless we enclose
|
||||
* it within a larger bounding box. This means we have an extra `<div>` in the html that is
|
||||
* only present to support the rotation
|
||||
*/
|
||||
function handleDragStart(e: DragEvent) {
|
||||
let elt: HTMLElement | null = dragHandle;
|
||||
while (elt) {
|
||||
|
Loading…
Reference in New Issue
Block a user