Pass all touch events to the graph editor
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user