Fixed issue 331 and updated svg-icon-loader
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@946 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
@@ -1931,6 +1931,14 @@ function BatchCommand(text) {
|
||||
call("selected", selectedElements);
|
||||
}
|
||||
}
|
||||
|
||||
// make sure the elements are in the correct order
|
||||
selectedElements.sort(function(a,b) {
|
||||
if(a && b && a.compareDocumentPosition) {
|
||||
return 3 - (b.compareDocumentPosition(a) & 6);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
if(showGrips) {
|
||||
selectorManager.requestSelector(selectedElements[0]).showGrips(true);
|
||||
|
||||
Reference in New Issue
Block a user