Fixed issue 420
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1243 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
@@ -1052,6 +1052,7 @@ function svg_edit_setup() {
|
|||||||
var clickClear = function(){
|
var clickClear = function(){
|
||||||
$.confirm(uiStrings.QwantToClear, function(ok) {
|
$.confirm(uiStrings.QwantToClear, function(ok) {
|
||||||
if(!ok) return;
|
if(!ok) return;
|
||||||
|
setSelectMode();
|
||||||
svgCanvas.clear();
|
svgCanvas.clear();
|
||||||
svgCanvas.setResolution(640, 480);
|
svgCanvas.setResolution(640, 480);
|
||||||
updateCanvas(true);
|
updateCanvas(true);
|
||||||
|
|||||||
@@ -3304,6 +3304,7 @@ function BatchCommand(text) {
|
|||||||
// Currently only one node can be selected at a time, should allow more later
|
// Currently only one node can be selected at a time, should allow more later
|
||||||
// Should point be the index or the grip element?
|
// Should point be the index or the grip element?
|
||||||
|
|
||||||
|
var point = points;
|
||||||
// if(!$.isArray(points)) points = [points];
|
// if(!$.isArray(points)) points = [points];
|
||||||
//
|
//
|
||||||
// $.merge(selected_pts, points);
|
// $.merge(selected_pts, points);
|
||||||
|
|||||||
Reference in New Issue
Block a user