We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ede3a79 commit 50bcab0Copy full SHA for 50bcab0
src/vf/flowgraph/block.ts
@@ -56,6 +56,7 @@ class Block extends ElementBase<{
56
text.setAttribute('font-family', i.font)
57
text.setAttribute('font-size', i.size + 'px')
58
text.setAttribute('fill', i.color.hex())
59
+ text.style.userSelect = 'none'
60
appendChild(this, text)
61
this.text_el.push(text)
62
}
src/vf/type/line.ts
@@ -38,7 +38,7 @@ class Line {
38
this.el.setAttribute('fill', 'none')
39
appendChild(flowgraph.el, this)
40
41
- this.el.addEventListener('click', () => {
+ this.el.addEventListener('dblclick', () => {
42
line_pool.remove_line(this)
43
this.destructor()
44
})
0 commit comments