Pass all touch events to the graph editor
This commit is contained in:
1 parent
642eed0717
commit
76decaf203
2 files changed
+1
-8
No files matched your search
@@ -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