Fix Issue 234: Next/prev select navigation was broken with layers
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@727 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
c325437af3
commit
0bb9fc0183
|
@ -3910,7 +3910,7 @@ function BatchCommand(text) {
|
|||
this.cycleElement = function(next) {
|
||||
var cur_elem = selectedElements[0];
|
||||
var elem = false;
|
||||
var all_elems = this.getVisibleElements();
|
||||
var all_elems = this.getVisibleElements(current_layer);
|
||||
if (cur_elem == null) {
|
||||
var num = next?all_elems.length-1:0;
|
||||
elem = all_elems[num];
|
||||
|
|
Loading…
Reference in New Issue