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-75d572ba1ddd
master
Jeff Schiller 2009-09-29 03:23:52 +00:00
parent c325437af3
commit 0bb9fc0183
1 changed files with 1 additions and 1 deletions

View File

@ -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];