Fix SVG-Edit Regression
"text" and "foreignObject" tools should not disable "line" and "freehand" tools.
This commit is contained in:
parent
db5b418659
commit
4475f02586
2 changed files with 10 additions and 9 deletions
|
@ -666,6 +666,7 @@ function svg_edit_setup() {
|
|||
var updateToolbar = function() {
|
||||
if (selectedElement != null &&
|
||||
selectedElement.tagName != "image" &&
|
||||
selectedElement.tagName != "text" &&
|
||||
selectedElement.tagName != "foreignObject" &&
|
||||
selectedElement.tagName != "g")
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue