Commit 2ed3c389 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

ctrl+click

parent fae3c7f5
......@@ -947,14 +947,19 @@ MPRMarker.prototype.init = function(){
$(this.target).append(html);
html.find("shape").on('click',function(){
var uid = $(this).attr("uid");
$(".mprmarker[uid="+uid+"]").each(function(){
$(this).parent().parent().parent().remove();
});
html.find("shape").on('click',function(e){
if(Scene._ctrlKey){
var uid = $(this).attr("uid");
$(".mprmarker[uid="+uid+"]").each(function(){
$(this).parent().parent().parent().remove();
});
// remove from Data.mpr.markers
mpr_marker_remove_by_uid(uid);
// remove from Data.mpr.markers
mpr_marker_remove_by_uid(uid);
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment