Prevent selection bug when clicking layers while accidentally holding down shift
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@769 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
671d263224
commit
eaba474023
|
@ -1219,6 +1219,7 @@ function svg_edit_setup() {
|
||||||
var row = $(this.parentNode);
|
var row = $(this.parentNode);
|
||||||
row.addClass("layersel");
|
row.addClass("layersel");
|
||||||
svgCanvas.setCurrentLayer(this.textContent);
|
svgCanvas.setCurrentLayer(this.textContent);
|
||||||
|
evt.preventDefault();
|
||||||
});
|
});
|
||||||
$('#layerlist td.layervis').click(function(evt){
|
$('#layerlist td.layervis').click(function(evt){
|
||||||
var row = $(this.parentNode).prevAll().length;
|
var row = $(this.parentNode).prevAll().length;
|
||||||
|
|
Loading…
Reference in New Issue