Pass all touch events to the graph editor
continuous-integration/drone/push Build is passing Details

main
Clément FRÉVILLE 3 months ago
parent 642eed0717
commit 76decaf203

@ -464,14 +464,6 @@ export class GraphEditor extends HTMLElement {
private fireOnChange() {
this.dispatchEvent(new Event('change'));
}
override get clientWidth(): number {
return this.children[0].clientWidth;
}
override get clientHeight(): number {
return this.children[0].clientHeight;
}
}
type NodeSelection = d3.Selection<

@ -134,6 +134,7 @@ graph-editor {
flex-grow: 1;
display: flex;
flex-direction: column;
touch-action: none;
}
graph-editor svg {
flex-grow: 1;

Loading…
Cancel
Save