Ver Fonte

[shgraph] Fix comment not being renamable

Clément Espeute há 8 meses atrás
pai
commit
e7219936ed
2 ficheiros alterados com 7 adições e 0 exclusões
  1. 3 0
      bin/style.css
  2. 4 0
      bin/style.less

+ 3 - 0
bin/style.css

@@ -2415,6 +2415,9 @@ input[type=checkbox]:checked:after {
   stroke: rgba(80, 80, 80, 0.5);
   stroke-width: 3;
 }
+.graph-view .heaps-scene svg g.box.comment foreignObject {
+  pointer-events: all;
+}
 .graph-view .heaps-scene svg g.box.selected .outline {
   stroke: #668fff;
 }

+ 4 - 0
bin/style.less

@@ -2744,6 +2744,10 @@ input[type=checkbox] {
 							stroke-width: 3;
 						}
 
+						foreignObject {
+							pointer-events: all;
+						}
+
 						pointer-events: none;
 					}