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() { private fireOnChange() {
this.dispatchEvent(new Event('change')); 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< type NodeSelection = d3.Selection<

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

Loading…
Cancel
Save