Fix Issue 448: Merge wormsxulla's patch
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1297 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
64c7fa5f9f
commit
2b4025bb42
|
@ -1,4 +1,4 @@
|
||||||
/*
|
/*
|
||||||
* svg-editor.js
|
* svg-editor.js
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2
|
* Licensed under the Apache License, Version 2
|
||||||
|
@ -1727,7 +1727,7 @@ function svg_edit_setup() {
|
||||||
var updateToolButtonState = function() {
|
var updateToolButtonState = function() {
|
||||||
var bNoFill = (svgCanvas.getFillColor() == 'none');
|
var bNoFill = (svgCanvas.getFillColor() == 'none');
|
||||||
var bNoStroke = (svgCanvas.getStrokeColor() == 'none');
|
var bNoStroke = (svgCanvas.getStrokeColor() == 'none');
|
||||||
var buttonsNeedingStroke = [ '#tool_path', '#tool_line' ];
|
var buttonsNeedingStroke = [ '#tool_fhpath', '#tool_line' ];
|
||||||
var buttonsNeedingFillAndStroke = [ '#tools_rect_show', '#tools_ellipse_show', '#tool_text' ];
|
var buttonsNeedingFillAndStroke = [ '#tools_rect_show', '#tools_ellipse_show', '#tool_text' ];
|
||||||
if (bNoStroke) {
|
if (bNoStroke) {
|
||||||
for (index in buttonsNeedingStroke) {
|
for (index in buttonsNeedingStroke) {
|
||||||
|
|
Loading…
Reference in New Issue